Learn R Programming

RandomFields (version 3.0.62)

RPt: Simulation of a T Random Fields

Description

RPt defines a t fields.

Usage

RPt(phi, nu)

Arguments

phi
the RMmodel. If a model for the distribution is not specified, RPgauss is used as default and a covariance model is expected.
nu
non-negative number. Degree of freedom.

Value

  • The function returns an object of class RMmodel

References

Related to the extremal t process
  • T. Opitz (2012) A spectral construction of the extremal t process.arxiv1207.2296.

See Also

Auxiliary RMmodels, RP, RPgauss

Examples

Run this code
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again

model <- RPt(RMexp(), nu=2)
x <- seq(0, 10, if (interactive()) 0.1 else 2)
z <- RFsimulate(model, x, x, n=4)
plot(z)

FinalizeExample()

Run the code above in your browser using DataLab