Displaying 1 result from an estimated 1 matches for "sites1".
Did you mean:
sites
2003 Oct 13
1
NA's from GRASS-package
Hello,
I run R inside GRASS and tried to obtain values of a raster file inside GRASS
but this raster image contains only a few relevant pixel and approx. 1.5
Mill. NA's, I did
G <- gmeta()
sites1 <- rast.get(G, "sites1")
df.sites1 <- data.frame(east(G), north(G), sites1, na.action=na.omit)
Error in as.data.frame.default(x[[i]], optional = TRUE) :
can't coerce function into a data.frame
executing it without na.action works fine but with 1.5 Mill. redundant values...