Learn R Programming

RandomFields (version 3.1.36)

RMcoord: Coordinates in the mixed model representation

Description

This function is used to define, in the (rare) case, coordinates that differ from the original coordinates to define a covariance matrix for a random effect model

~ RMmodel() + Z @ RMcoord(coord=X, RMmodel2())

Usage

RMcoord(C0, coord, dist)

Arguments

C0
covariance function of class RMmodel.
coord, dist
either coordinates or a the lower matrix of a distance matrix can be passed

Value

RMcoord returns an object of class RMmodel.

See Also

RMmodel, RFfit.

Examples

Run this code
 ## For examples see the help page of 'RFformula' ##

## todo


Run the code above in your browser using DataLab