geopart | R Documentation |
Partitions a dataset according to the location area each observation belongs to.
geopart(dataset, shape_file)
dataset |
A data.frame or matrix object containing lon/lat coordinates |
shape_file |
A SpatialPolygonsDataFrame object created using sp package |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.