View source: R/dens.net.EqualSplit.R
dens.net.EqualSplit | R Documentation |
Computes an adaptive-bandwidth kernel estimate for the intensity function through the Okabe-Sugihara equal-split algorithms by using binning of the bandwidth values.
dens.net.EqualSplit(
X,
...,
weights = NULL,
bw = NULL,
ngroups = NULL,
at = c("pixels", "points"),
verbose = FALSE
)
X |
A point pattern on a linear network (an object of class |
... |
Extra arguments passed to densityHeat.lpp. |
weights |
Optional. Numeric vector of weights associated with the points of X. Weights can be positive, negative or zero. |
bw |
Numeric vector of spatial smoothing bandwidths for each point in |
ngroups |
Number of groups in which the bandwidths should be partitioned. If this number is 1, then a classical non-adaptive estimator will be used for the spatial part with a bandwidth selected as the median of the bw.xy vector. |
at |
String specifying whether to estimate the intensity at a mesh ( |
verbose |
Logical value indicating whether to print progress reports for every partition group. |
This function computes an adaptive kernel estimate of the intensity on linear networks. It starts from a point pattern X
and partition the spatial component to apply a kernel estimator within each cell.
The argument bw
specifies the smoothing bandwidth vector to be applied to each of the points in X
. It should be a numeric vector of bandwidths.
The method partition the range of bandwidths into intervals, subdividing the points of the pattern X
into sub-patterns according to the bandwidths, and applying fixed-bandwidth smoothing to each sub-pattern. Specifying ngroups = 1
is the same as fixed-bandwidth smoothing with bandwidth sigma = median(bw)
.
If at = "points"
(the default), the result is a numeric vector with one entry for each data point in X
. if at = "pixels"
is a pixel image on a linear network (linim objects) corresponding to the intensity over linear network.
Jonatan A. González
González J.A. and Moraga P. (2018) An adaptive kernel estimator for the intensity function of spatio-temporal point processes http://arxiv.org/pdf/2208.12026
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.