generateParameterCovarianceMatrix: generate a template for parameter covariances

Description Usage Arguments Value Author(s) See Also

Description

This function simplifies generating the matrix of parameter covariances from a matrix of mean parameters.

Usage

1
2
3
generateParameterCovarianceMatrix(muM,
  statesNamesFrom = (dimnames(muM@list.matrix)["from"])[[1]],
  statesNamesTo = statesNamesFrom)

Arguments

muM

a transition.structure of dimension N x N, whose components list the mean values for the parameters in the transitionFunctions.

statesNamesFrom

a list of names of states in the model. By default list(State 1, State 2, ..., State N)

statesNamesTo

a list of names of states in the model. By default list(State 1, State 2, ..., State N)

Value

a transition.structure of dimension N x N of covariance matrices for the parameters.

Author(s)

Luisa Salazar Vizcaya, Nello Blaser, Thomas Gsponer

See Also

transition.structure, generateParameterMatrix, simulateCohort


GUIgems documentation built on May 1, 2019, 8:19 p.m.