h_get_theta_from_cov: Obtain Theta from Covariance Matrix
Description
Obtain unstructured theta from covariance matrix.
Usage
h_get_theta_from_cov(covariance)
Value
Numeric vector of the theta values.
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.