Learn R Programming

RandomFields (version 3.0.10)

RPmodel: Models for classes of random fields

Description

Here, all the classes of random fields are described that can be simulated

Arguments

Implemented models

ll{ Gaussian Random fields see Gaussian Max-stable Random Fields see Maxstable Other Random Fields Binary field chi2 field composed Poisson (shot noise, random coin) }

See Also

RR, RM, RF

Examples

Run this code
RFoptions(seed=0)
  x <- seq(0, 10, 0.1)
  model <- RMexp()
  RFoptions(seed=0)
  z <- RFsimulate(model, x)
  plot(z)
  RFoptions(seed=0)
  b <- RFsimulate(RPbernoulli(model), x)
  plot(b)

str(z)

  sum( abs((z@data$variabl1 >=0 ) - b@data$variable1)) == 0 ## TRUE

RFoptions(seed=NA)

Run the code above in your browser using DataLab