R: Identical Model

RMid {RandomFields} | R Documentation

## Identical Model

### Description

`RMid` is the identical operator for objects of class `RMmodel`

### Usage

    RMid(phi, vdim, var, scale, Aniso, proj)

### Arguments

`phi` | covariance function of class `RMmodel`.
`vdim` | for internal purposes
`var,scale,Aniso,proj` | optional arguments; same meaning for any `RMmodel`. If not passed, the above covariance function remains unmodified.

### Value

`RMid` returns an object of class `RMmodel`

### Author(s)

Martin Schlather, schlather@math.uni-mannheim.de

### See Also

`RMmodel`,

### Examples

    RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
    ##                   RFoptions(seed=NA) to make them all random again
    model <- RMexp()
    x <- 0:10
    z <- RFsimulate(model, x)

    model2 <- RMid(model)
    z2 <- RFsimulate(model, x)
    sum(abs(as.vector(z)- as.vector(z2))) == 0 # TRUE

[Package RandomFields version 3.1.50 Index]