Description Usage Arguments Details Value Author(s) References Examples
nodeFilling produces a grid of locations that are the nodes in the diffusion process.
1 | nodeFilling(poly, node_spacing, hole_list = NULL)
|
poly |
A matrix that contains the vertices of the bounding polygon. |
node_spacing |
The distance between grid locations. |
hole_list |
Optional list of holes to be removed from the region |
nodeFilling superimposes a square grid of points over the region, with spacing given by the parameter node_spacing. The points contained in the region are retained. The output, a nodeFillingOutput object, contains the boundaries of the region (and holes), the set of nodes, and EW and NS coordinates necessary for creating a contour plot.
An object of type nodeFillingOutput is produced.
EW_locs EW coordinates for the contour plot.
NS_locs NS coordinates for the contour plot.
nodes Matrix of node locations.
poly Matrix of vertices of boundary polygon.
node_spacing Vertical and horizontal node spacing.
hole_list List of polygons representing holes in region.
Ronald P. Barry
Ronald P. Barry, Julie McIntyre. Estimating animal densities and home range in regions with irregular boundaries and holes: A lattice-based alternative to the kernel density estimator. Ecological Modelling 222 (2011) 1666-1672. <doi:10.1016/j.ecolmodel.2011.02.016>
1 2 3 4 5 6 | plot.new()
data(polygon1)
nodeFillingOutput <- nodeFilling(poly=polygon1,node_spacing=0.02)
plot(nodeFillingOutput)
formLatticeOutput <- formLattice(nodeFillingOutput)
plot(formLatticeOutput)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.