Skip to content
Prev 26045 / 29559 Next

DataGrid

When you create a full grid, there will be many NA values in your data for
grid coordinates that you didn't provide data for.

str() is only showing you the first few elements: unless your dataset has
values in that corner, NA is the expected return.

Use summary() or image() to investigate the whole dataset. I think you will
find that you have non-missing values where appropriate. You need to then
use na.rm=TRUE in many functions.

Sarah

On Sun, Oct 15, 2017 at 5:39 AM Anastasia Johannes <stacy.johannes at gmail.com>
wrote: