calculate_pk_parameters_statistics {pharmr} | R Documentation |
calculate_pk_parameters_statistics
Description
Calculate statistics for common pharmacokinetic parameters
Calculate the mean (expected value of the distribution), variance (variance of the distribution) and standard error for some individual pre-defined pharmacokinetic parameters.
Usage
calculate_pk_parameters_statistics(
model,
parameter_estimates,
covariance_matrix = NULL,
seed = NULL
)
Arguments
model |
(Model) A previously estimated model |
parameter_estimates |
(array) Parameter estimates |
covariance_matrix |
(data.frame (optional)) Parameter uncertainty covariance matrix |
seed |
(numeric (optional)) Random number generator or seed |
Value
(data.frame) A DataFrame of statistics indexed on parameter and covariate value.
See Also
calculate_individual_parameter_statistics : Calculation of statistics for arbitrary parameters
Examples
## Not run:
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
rng <- create_rng(23)
pe <- results$parameter_estimates
cov <- results$covariance_matrix
calculate_pk_parameters_statistics(model, pe, cov, seed=rng)
## End(Not run)
[Package pharmr version 1.0.1 Index]