plot.formLatticeOutput: Plot the lattice.

Description Usage Arguments Author(s) Examples

View source: R/plot.formLatticeOutput.R

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

1
2
## 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

Examples

1
2
3
4
5
6
plot.new()
data(polygon1)
nodeFillingOutput <- nodeFilling(poly=polygon1, node_spacing=0.015)
plot(nodeFillingOutput)
formLatticeOutput <- formLattice(nodeFillingOutput)
plot(formLatticeOutput)

latticeDensity documentation built on April 18, 2021, 5:06 p.m.