Learn R Programming

latticeDensity (version 1.2.7)

plot.nodeFillingOutput: Plot a nodeFillingOutput object.

Description

Plots the boundary, all holes and the locations of all nodes. Should be used to decide if the nodes fill the region and are spaced closely enough to give good resolution in the plots. The only reason not to make the nodes too closely spaced is when the computing time or memory becomes too great.

Usage

# S3 method for nodeFillingOutput
plot(x, ...)

Value

No return value, called for side effects

Arguments

x

An object of type nodeFillingOutput returned by either nodeFilling or removeHole.

...

Other arguments to be passed to functions plot, points, lines.

Author

Ronald P. Barry

References

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.

Examples

Run this code
plot.new()
data(polygon1)
nodeFillingOutput <- nodeFilling(poly=polygon1, node_spacing=0.01)
plot(nodeFillingOutput)

Run the code above in your browser using DataLab