Strauss: Simulates Strauss Spatial Point Process

Description Usage Arguments Details Value Side Effects References See Also Examples

View source: R/pp.R

Description

Simulates Strauss spatial point process.

Usage

1
Strauss(n, c=0, r)

Arguments

n

number of points

c

parameter c in [0, 1]. c = 0 corresponds to complete inhibition at distances up to r.

r

inhibition distance

Details

Uses spatial birth-and-death process for 4n steps, or for 40n steps starting from a binomial pattern on the first call from an other function. Uses the region 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

Psim, SSI

Examples

1
2
3
4
towns <- ppinit("towns.dat")
par(pty="s")
plot(Kfn(towns, 10), type="b", xlab="distance", ylab="L(t)")
lines(Kaver(10, 25, Strauss(69,0.5,3.5)))

spatial documentation built on May 29, 2017, 8 p.m.