View source: R/spatialQuantile.R
| SpatialQuantile | R Documentation |
Compute a weighted median or weighted quantile of spatial data.
SpatialMedian(X, ...)
SpatialQuantile(X, prob = 0.5, ...)
X |
A spatial data object. |
prob |
Probability for which the quantile is required. A single numeric value between 0 and 1. Default is to calculate the median. |
... |
Further arguments passed to methods. |
The functions SpatialMedian and SpatialQuantile
are generic. They calculate spatially weighted medians
and quantiles of spatial data. The details depend on the class of
X.
There are methods for spatial point patterns (class "ppp")
and possibly for other objects.
.
Methods SpatialMedian.ppp, SpatialQuantile.ppp.
Smooth for the spatially weighted average.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.