View source: R/functions_wrapper.R
calculate_pk_parameters_statistics | R Documentation |
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.
calculate_pk_parameters_statistics(
model,
parameter_estimates,
covariance_matrix = NULL,
seed = 1234
)
model |
(Model) A previously estimated model |
parameter_estimates |
(array) Parameter estimates |
covariance_matrix |
(data.frame (optional)) Parameter uncertainty covariance matrix |
seed |
(numeric) Random number generator or seed |
(data.frame) A DataFrame of statistics indexed on parameter and covariate value.
calculate_individual_parameter_statistics : Calculation of statistics for arbitrary parameters
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.