https://github.com/cran/spatstat
Tip revision: 557291f3fe7c263c28aba1fe2c6b4b8fc12047ab authored by Adrian Baddeley on 04 November 2018, 16:10:03 UTC
version 1.57-1
version 1.57-1
Tip revision: 557291f
rdpp.Rd
\name{rdpp}
\alias{rdpp}
\title{Simulation of a Determinantal Point Process}
\description{
Generates simulated realisations from a determinantal point process.
}
\usage{
rdpp(eig, index, basis = "fourierbasis",
window = boxx(rep(list(0:1), ncol(index))),
reject_max = 10000, progress = 0, debug = FALSE, \dots)
}
\arguments{
\item{eig}{
vector of values between 0 and 1 specifying the non-zero
eigenvalues for the process.
}
\item{index}{
\code{data.frame} or \code{matrix} (or something acceptable to
\code{\link{as.matrix}}) specifying indices of the basis
functions.
}
\item{basis}{character string giving the name of the basis.}
\item{window}{
window (of class \code{"owin"}, \code{"box3"} or \code{"boxx"})
giving the domain of the point process.
}
\item{reject_max}{
integer giving the maximal number of trials for rejection sampling.
}
\item{progress}{
integer giving the interval for making a progress report. The value
zero turns reporting off.
}
\item{debug}{
logical value indicating whether debug informationb
should be outputted.
}
\item{\dots}{Ignored.}
}
\author{
\adrian
\rolf
and \ege
}
\examples{
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
}
\keyword{datagen}
\keyword{spatial}
\keyword{models}