calculate_prec_from_corrse {pharmr} | R Documentation |
calculate_prec_from_corrse
Description
Calculate precision matrix from a correlation matrix and standard errors
Usage
calculate_prec_from_corrse(corr, se)
Arguments
corr |
(data.frame) Correlation matrix |
se |
(array) Standard errors |
Value
(data.frame) Precision 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_prec : Covariance matrix from precision matrix
calculate_cov_from_corrse : Covariance matrix from correlation matrix and standard errors
calculate_prec_from_cov : Precision matrix from covariance matrix
calculate_corr_from_prec : Correlation matrix from precision matrix
Examples
## Not run:
results <- load_example_modelfit_results("pheno")
corr <- results$correlation_matrix
se <- results$standard_errors
corr
calculate_prec_from_corrse(corr, se)
## End(Not run)
[Package pharmr version 1.0.1 Index]