Last data update: 2014.03.03

R: Plot the lattice.
plot.formLatticeOutputR Documentation

Plot the lattice.

Description

This function plots the boundary, holes, nodes and neighbor lattice for the lattice based density or regression estimators. The plot can be examined to determine whether the lattice of connected nodes fills the region. If some nodes are connected when they should not be, or are disconnected when they should be connected, use editLattice to add or remove neighbor links.

Usage

## S3 method for class 'formLatticeOutput'
plot(x,...)

Arguments

x

an object of type formLatticeOutput returned by either formLattice or editLattice.

...

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

Author(s)

Ronald P. Barry rpbarry@alaska.edu

Examples

plot.new()
data(polygon1)

nodeFillingOutput = nodeFilling(poly=polygon1,node.spacing=0.015)
plot(nodeFillingOutput)
formLatticeOutput = formLattice(nodeFillingOutput)
plot(formLatticeOutput)

Results