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.
Usage
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)Arguments
- .mod
Model to check.
- .threshold
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()- .dry_run
show what the command would be without actually running it
Methods (by class)
cov_cor(bbi_nonmem_model): Get cov and cor frombbi_nonmem_modelobjectcov_cor(bbi_nonmem_summary): Get cov and cor frombbi_nonmem_summaryobject (output ofmodel_summary())
