.bw.scott2 | R Documentation |
This function Calculate Gaussian bandwideth based on Scott's rule of thumb.
Note that this function is already available in recent spatstat
versions (see ?.bw.scott
).
This is used internally in 'moleculaR::probMap'.
.bw.scott2(X, isotropic = FALSE, d = NULL)
X: |
A point pattern (object of class |
isotropic: |
Logical value indicating whether to compute a single bandwidth for an isotropic Gaussian kernel (isotropic=TRUE) or separate bandwidths for each coordinate axis (isotropic=FALSE, the default). |
A numeric, estimated Gaussian bandwidth. geometric mean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.