estimate_pcf_fast: estimate_pcf_fast

View source: R/estimate_pcf_fast.R

estimate_pcf_fastR Documentation

estimate_pcf_fast

Description

Fast estimation of the pair correlation function

Usage

estimate_pcf_fast(pattern, ...)

Arguments

pattern

Point pattern.

...

Arguments passed down to 'Kest' or 'pcf.fv'.

Details

The functions estimates the pair correlation functions based on an estimation of Ripley's K-function. This makes it computationally faster than estimating the pair correlation function directly.

It is a wrapper around Kest and pcf.fv and returns a 'Function value object' of the spatstat package.

Value

fv.object

References

Ripley, B.D., 1977. Modelling spatial patterns. Journal of the Royal Statistical Society. Series B (Methodological) 39, 172–192. <https://doi.org/10.1111/j.2517-6161.1977.tb01615.x>

Stoyan, D., Stoyan, H., 1994. Fractals, random shapes and point fields. John Wiley & Sons, Chichester, UK. <isbn:978-0-471-93757-9>

See Also

Kest
pcf.fv

Examples

set.seed(42)
pattern <- spatstat.random::runifpoint(n = 100)
pcf_fast <- estimate_pcf_fast(pattern)


onpoint documentation built on March 7, 2023, 8:04 p.m.