Displaying 1 result from an estimated 1 matches for "glc1".
Did you mean:
glc
2009 Feb 21
1
Extracting xy from raster based on raster value
...at have a value of 1, or to extract
the xy values of all raster cells with a value of 1. Could you please
help me along? I have tried using several of the functions in the
raster help package, e.g. "raster.get.xy.from.cell", but do not know
how to specify glc=1. I have tried to use e.g.:
glc1<-raster.get.xy.from.cell(glc,glc==1)
glc1<-raster.get.xy.from.cell(glc, glc[which(glc==1)])
The reason I specifically used the raster package to read in my files is because I have been unable to read my ascii files (which are very big) into R using read.asciigrid because the ascii files are...