center_l_function: center_l_function

View source: R/center_l_function.R

center_l_functionR Documentation

center_l_function

Description

Centered L-function

Usage

center_l_function(x, ...)

Arguments

x

ppp

...

Arguments passed to spatstat.explore::Lest()

Details

Centers Besag's L-function to zero by calculating L(r) -r. Centering the L-function allows an easier interpretation and plotting of the results (Haase 1995).

Returns an 'Function value object' of the spatstat package.

Value

fv.object

References

Besag, J.E., 1977. Discussion on Dr. Ripley’s paper. Journal of the Royal Statistical Society. Series B (Methodological) 39, 193–195. <https://doi.org/10.1111/j.2517-6161.1977.tb01616.x>

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>

Haase, P., 1995. Spatial pattern analysis in ecology based on Ripley’s K-function: Introduction and methods of edge correction. Journal of Vegetation Science 6, 575–582. <https://doi.org/10.2307/3236356>

See Also

Lest

Examples

input_pattern <- spatstat.random::runifpoint(n = 100)
center_l_function(input_pattern, correction = "Ripley")

lest <- spatstat.explore::Lest(input_pattern)
center_l_function(lest)


onpoint documentation built on Sept. 17, 2024, 5:09 p.m.