cov_cor | R Documentation |
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)
.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 |
... |
args passed through to |
.dry_run |
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()
)
model_summary()
, check_cor_threshold()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.