Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Kenvl

Compute Envelope and Average of Simulations of K-fns


Description

Computes envelope (upper and lower limits) and average of simulations of K-fns

Usage

Kenvl(fs, nsim, ...)

Arguments

fs

full scale for K-fn

nsim

number of simulations

...

arguments to produce one simulation

Value

list with components

x

distances

lower

min of K-fns

upper

max of K-fns

aver

average of K-fns

References

Ripley, B. D. (1981) Spatial Statistics. Wiley.

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.

See Also

Examples

towns <- ppinit("towns.dat")
par(pty="s")
plot(Kfn(towns, 40), type="b")
plot(Kfn(towns, 10), type="b", xlab="distance", ylab="L(t)")
for(i in 1:10) lines(Kfn(Psim(69), 10))
lims <- Kenvl(10,100,Psim(69))
lines(lims$x,lims$lower, lty=2, col="green")
lines(lims$x,lims$upper, lty=2, col="green")
lines(Kaver(10,25,Strauss(69,0.5,3.5)), col="red")

spatial

Functions for Kriging and Point Pattern Analysis

v7.3-14
GPL-2 | GPL-3
Authors
Brian Ripley [aut, cre, cph], Roger Bivand [ctb], William Venables [cph]
Initial release
2021-04-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.