| nncrossden.pp3 | R Documentation |
nndensity.pp3, but specifically for marked patterns
with a global intensity inhomogeneity.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. Requires
two point patterns: One (X) that contains just points of the type you
want to estimate the intesnity of. A second (Y) that contains all
points from the sample (note that this includes the points from pattern
X) for removing global intensity. Note that this function runs faster
on linux and mac machines than windows, but will work on both.
nncrossden.pp3( X, Y, k, nx, ny, nz, at.points = FALSE, nsplit = 1000, cores = 8 )
X |
The point pattern to estimate the intensity of. |
Y |
The full point pattern to estimate global intensity. |
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. |
at.points |
|
nsplit |
In this function, large |
cores |
Number of cores to use for parallelization. Set to one for serial calculation. |
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. [4] A vector containing all k values tested.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.