calculate_individual_shrinkage {pharmr} | R Documentation |
calculate_individual_shrinkage
Description
Calculate the individual eta-shrinkage
Definition: ieta_shr = (var(eta) / omega)
Usage
calculate_individual_shrinkage(
model,
parameter_estimates,
individual_estimates_covariance
)
Arguments
model |
(Model) Pharmpy model |
parameter_estimates |
(array) Parameter estimates of model |
individual_estimates_covariance |
(data.frame) Uncertainty covariance matrices of individual estimates |
Value
(DataFrame) Shrinkage for each eta and individual
See Also
calculate_eta_shrinkage
Examples
## Not run:
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
pe <- results$parameter_estimates
covs <- results$individual_estimates_covariance
calculate_individual_shrinkage(model, pe, covs)
## End(Not run)
[Package pharmr version 1.0.1 Index]