Learn R Programming

⚠️There's a newer version (1.2.7) of this package.Take me there.

latticeDensity (version 1.2.6)

Density Estimation and Nonparametric Regression on Irregular Regions

Description

Functions that compute the lattice-based density estimator of Barry and McIntyre, which accounts for point processes in two-dimensional regions with irregular boundaries and holes. The package also implements two-dimensional non-parametric regression for similar regions.

Copy Link

Version

Install

install.packages('latticeDensity')

Monthly Downloads

168

Version

1.2.6

License

GPL-2

Maintainer

Ronald Barry

Last Published

April 18th, 2021

Functions in latticeDensity (1.2.6)

crossvalDensity

UBC crossvalidation for the lattice-based density estimator.
createDensity

Generates a density using random walks on a lattice.
areaRegionExample

A region with two holes
areaRegion

Computes area of a region
deletedResid

Deleted residuls for non-parametric regression.
crossvalNparReg

Crossvalidation for non-parametric regression.
createNparReg

Performs nonparametric regression on irregular regions.
Tkp

Compute the vector T^k*p
addQuantVar

Input data for Nonparametric Regression smoothing.
editLattice

Add or remove links in the lattice
homerange

Produces a homerange map.
makeTmatrix

Create the transition matrix for the diffusion.
plot.varianceMapOut

Plot the standard error map.
polygon1

Example boundary with causeway
plot.densityOut

Plot the density map
plot.NparRegOut

Plot the non-parametric regression surface.
plot.formLatticeOutput

Plot the lattice.
plot.nodeFillingOutput

Plot a nodeFillingOutput object.
varianceMap

Spatial variance for the regression smoother.
addObservations

Input observations for use in the lattice-based density estimator
formLattice

Builds a neighbor structure on the nodes.
predict.NparRegOut

Predictions at data locations from lattice-based non-parametric regression.
nodeFilling

Produces a grid of locations inside the region boundary.
removeHole

Removes holes from the region prior to density estimation.
nparExample

Example boundary with a grid of locations