R: Simulation of a Chi2 Random Fields

RPchi2 {RandomFields} | R Documentation

## Simulation of a Chi2 Random Fields

### Description

`RPchi2` defines a chi2 fields.

### Usage

    RPchi2(phi, boxcox, f)

### Arguments

`phi` | the `RMmodel`. If a model for the distribution is not specified, `RPgauss` is used as default and a covariance model is expected.
`boxcox` | the one or two parameters of the box cox transformation. If not given, the globally defined parameters are used. see `RFboxcox` for Details.
`f` | integer. Degree of freedom.

### Value

The function returns an object of class `RMmodel`

### Author(s)

Martin Schlather, schlather@math.uni-mannheim.de http://ms.math.uni-mannheim.de/de/publications/software

### See Also

`Auxiliary RMmodels`, `RP`, `RPgauss`

### Examples

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

    model <- RPchi2(RMexp(), f=2)
    x <- seq(0, 10, 0.1)
    z <- RFsimulate(model=model, x, x, n=4)
    plot(z)

[Package RandomFields version 3.1.50 Index]