calculate_cov_from_prec {pharmr}R Documentation

calculate_cov_from_prec

Description

Calculate covariance matrix from a precision matrix

Usage

calculate_cov_from_prec(precision_matrix)

Arguments

precision_matrix

(data.frame) Precision matrix

Value

(data.frame) Covariance matrix

See Also

calculate_se_from_cov : Standard errors from covariance matrix

calculate_se_from_prec : Standard errors from precision matrix

calculate_corr_from_cov : Correlation matrix from covariance matrix

calculate_cov_from_corrse : Covariance matrix from correlation matrix and standard errors

calculate_prec_from_cov : Precision matrix from covariance matrix

calculate_prec_from_corrse : Precision matrix from correlation matrix and standard errors

calculate_corr_from_prec : Correlation matrix from precision matrix

Examples

## Not run: 
results <- load_example_modelfit_results("pheno")
prec <- results$precision_matrix
prec
calculate_cov_from_prec(prec)

## End(Not run)

[Package pharmr version 1.0.1 Index]