Learn R Programming

pharmr (version 1.4.0)

check_high_correlations: check_high_correlations

Description

Check for highly correlated parameter estimates

Usage

check_high_correlations(model, cor, limit = 0.9)

Value

(data.frame) Correlation values indexed on pairs of parameters for (absolute) correlations above limit

Arguments

model

(Model) Pharmpy model object

cor

(data.frame) Estimated correlation matrix

limit

(numeric) Lower limit for a high correlation

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
cor <- results$correlation_matrix
check_high_correlations(model, cor, limit=0.3)
}

Run the code above in your browser using DataLab