h_get_theta_from_cov {mmrm}R Documentation

Obtain Theta from Covariance Matrix

Description

Obtain unstructured theta from covariance matrix.

Usage

h_get_theta_from_cov(covariance)

Arguments

covariance

(matrix) of covariance matrix values.

Details

If the covariance matrix has NA in some of the elements, they will be replaced by 0 (non-diagonal) and 1 (diagonal). This ensures that the matrix is positive definite.

Value

Numeric vector of the theta values.


[Package mmrm version 0.3.15 Index]