Learn R Programming

cocons (version 0.1.5)

getModelLists: Builds the necessary input for building covariance matrices

Description

Returns a list of parameter vectors for each of the aspects.

Usage

getModelLists(theta, par.pos, type = 'diff')

Value

(list) a list of different spatial aspects and mean required for the cov.rns functions

Arguments

theta

(numeric vector) a vector of length p, where p is the number of parameters for each of the models.

par.pos

(list) a list detailing in which position of each aspect the elements of theta should be placed. Expected to be par.pos output of getDesignMatrix.

type

(character) whether parameters are related to a classical parameterization ('classic') or a difference parameterization 'diff' . Default set to 'diff'.

Author

Federico Blasi