powered by
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, …)
vector of values between 0 and 1 specifying the non-zero eigenvalues for the process.
data.frame or matrix (or something acceptable to as.matrix) specifying indices of the basis functions.
data.frame
matrix
as.matrix
character string giving the name of the basis.
window (of class "owin", "box3" or "boxx") giving the domain of the point process.
"owin"
"box3"
"boxx"
integer giving the maximal number of trials for rejection sampling.
integer giving the interval for making a progress report. The value zero turns reporting off.
logical value indicating whether debug informationb should be outputted.
Ignored.
# NOT RUN { 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 # }
Run the code above in your browser using DataLab