Pulls in the covariance and correlation matrices (for the final estimation method) for NONMEM models.
If no .cov or .cor files are found for the relevant model, will error informing the user.
cov_cor(.mod, .threshold = NULL, ..., .dry_run = FALSE)
# S3 method for class 'bbi_nonmem_model'
cov_cor(.mod, .threshold = NULL, ..., .dry_run = FALSE)
# S3 method for class 'bbi_nonmem_summary'
cov_cor(.mod, .threshold = NULL, ..., .dry_run = FALSE)Model to check.
Numeric scalar between 0 and 1. Will print a warning if the
absolute values of any of the off-diagonals in the correlation matrix are
above this threshold. If NULL, the default, skips this check.
args passed through to bbi_exec()
show what the command would be without actually running it
A named list of matrices.
cov_cor(bbi_nonmem_model): Get cov and cor from bbi_nonmem_model object
cov_cor(bbi_nonmem_summary): Get cov and cor from bbi_nonmem_summary object (output of model_summary())