Skip to content
Prev 274366 / 398506 Next

getting data associated with coordinates in a spatial data frame

It's going to depend how the coordinates are stored within the data
frame. Do you perhaps know if they are factors or character strings?
(I'm not familiar with the package). If you don't know, type
str(NAMEOFYOUROBJECT) and we can help interpret the output.

Untested, I think this would actually work for both though:
e[as.character(e$coordinates)=="(0,17)",]

Michael
On Thu, Oct 13, 2011 at 2:05 PM, Bailey, Daniel <bailed at spu.edu> wrote: