relrisk | R Documentation |
Generic command to estimate the spatially-varying probability of each type of point, or the ratios of such probabilities.
relrisk(X, ...)
X |
Either a point pattern (class |
... |
Additional arguments appropriate to the method. |
In a point pattern containing several different types of points, we may be interested in the spatially-varying probability of each possible type, or the relative risks which are the ratios of such probabilities.
The command relrisk
is generic and can be used to
estimate relative risk in different ways.
The function relrisk.ppp
is the method for point pattern
datasets. It computes nonparametric estimates of relative risk
by kernel smoothing.
The function relrisk.ppm
is the method for fitted point
process models (class "ppm"
). It computes parametric
estimates of relative risk, using the fitted model.
A pixel image, or a list of pixel images, or a numeric vector or matrix, containing the requested estimates of relative risk.
.
relrisk.ppp
,
relrisk.ppm
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.