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

Psim

Simulate Binomial Spatial Point Process


Description

Simulate Binomial spatial point process.

Usage

Psim(n)

Arguments

n

number of points

Details

relies on the region being set by ppinit or ppregion.

Value

list of vectors of x and y coordinates.

Side Effects

uses the random number generator.

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, 10), type="s", xlab="distance", ylab="L(t)")
for(i in 1:10) lines(Kfn(Psim(69), 10))

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.