rdpp | R Documentation |
Generates simulated realisations from a determinantal point process.
rdpp(eig, index, basis = "fourierbasis",
window = boxx(rep(list(0:1), ncol(index))),
reject_max = 10000, progress = 0, debug = FALSE, ...)
eig |
vector of values between 0 and 1 specifying the non-zero eigenvalues for the process. |
index |
|
basis |
character string giving the name of the basis. |
window |
window (of class |
reject_max |
integer giving the maximal number of trials for rejection sampling. |
progress |
integer giving the interval for making a progress report. The value zero turns reporting off. |
debug |
logical value indicating whether debug informationb should be outputted. |
... |
Ignored. |
A point pattern (object of class "ppp"
).
.
index <- expand.grid(-2:2,-2:2)
eig <- exp(-rowSums(index^2))
X <- rdpp(eig, index)
X
## To simulate a det. projection p. p. with the given indices set eig=1:
XX <- rdpp(1, index)
XX
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.