Professional Documents
Culture Documents
Library
Library
Library
install.packages("sp")
install.packages("rgdall")
install.packages("rgdal")
install.packages("geosphere")
xy <- SpatialPointsDataFrame(
d=40
# define clusters based on a tree "height" cutoff "d" and add them to the SpDataFrame
install.packages("dismo")
install.packages("rgeos")
library(dismo)
library(rgeos)
for (i in 1:max(xy$clust))
plot(ci@polygons, axes=T)
> # define clusters based on a tree "height" cutoff "d" and add them to the SpDataFrame
# define clusters based on a tree "height" cutoff "d" and add them to the SpDataFrame
print xy
print xy&$clust
print(xy&$clust)
print(xy)