nndensity.pp3 | R Documentation |
nndensity
to handle pp3 objects.Calculates the 3D nearest-neighbor intensity estimate of a point process at either a grid of points or at the point locations in the data set. Utilizes the volume weighted edge correction. See Statistics for Spatial Data by Cressie pg. 654 for more info.
## S3 method for class 'pp3' nndensity(X, k, nx, ny, nz, dz, at.points = FALSE, par = TRUE, cores = 7)
X |
The point pattern to estimate the intensity of. |
k |
Vector containing the nearest-neighbor #s that the estimate should be calculated for. |
nx, ny, nz |
If estimating on a grid, the number of grid points in x, y, and z. |
dz |
The z spacing for numeric integration for the edge correction (suggested ~ 0.1-0.5) |
at.points |
|
par |
|
cores |
If |
List containing: [1] A data frame of the intensity estimates for each nearest neighbor value. [2] The coordinates of the estimates. [3] The coordinates of the original points from the data set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.