intensity.ppx | R Documentation |
Calculates the intensity of points in a multi-dimensional point
pattern of class "ppx"
or "pp3"
.
## S3 method for class 'ppx'
intensity(X, ...)
X |
Point pattern of class |
... |
Ignored. |
This is a method for the generic function intensity
.
It computes the empirical intensity of a multi-dimensional point pattern
(object of class "ppx"
including "pp3"
),
i.e. the average density of points per unit volume.
If the point pattern is multitype, the intensities of the different types are computed separately.
A single number or a numeric vector.
and \ege
X <- osteo$pts[[1]]
intensity(X)
marks(X) <- factor(sample(letters[1:3], npoints(X), replace=TRUE))
intensity(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.