| RPbernoulli {RandomFields} | R Documentation |
Indicator or binary field which has the value 1, if an underfield field exceeds a given threshold, 0 otherwise.
RPbernoulli(phi, stationary_only, threshold)
phi |
the |
stationary_only |
optional arguments; same meaning as for
|
threshold |
real valued.
|
RPbernoulli can applied to any field. If only
a covariance model is given, a Gaussian field is simulated as
underlying field.
The function returns an object of class RMmodel
Martin Schlather, schlather@math.uni-mannheim.de http://ms.math.uni-mannheim.de/de/publications/software
Auxiliary RMmodels,
RP,
RMbernoulli
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set ## RFoptions(seed=NA) to make them all random again x <- seq(0, 10, 0.1) model <- RPbernoulli(RMexp(), threshold=0) z <- RFsimulate(model, x, x, n=4) plot(z)