calculate_pk_parameters_statistics function

calculate_pk_parameters_statistics

calculate_pk_parameters_statistics

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 = 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

Returns

(data.frame) A DataFrame of statistics indexed on parameter and covariate value.

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)

See Also

calculate_individual_parameter_statistics : Calculation of statistics for arbitrary parameters

  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04