summarize_parameters_distributions: Individual parameters distributions summary

View source: R/summarize_parameters_distributions.R

summarize_parameters_distributionsR Documentation

Individual parameters distributions summary

Description

Summarizes the selected individual parameters: number of values, mean, median, quantiles and range.

Usage

summarize_parameters_distributions(
  run,
  parameters = NULL,
  quantiles = c(0.05, 0.25, 0.75, 0.95),
  baseline_only = TRUE
)

Arguments

run

pmxploit NONMEM run object.

parameters

character vector of parameters names. Default is NULL, returning all individual parameters (random and post-hoc).

quantiles

numeric vector of quantiles. Default are 5th, 25th, 75th and 95th percentiles.

baseline_only

logical. Consider only the baseline (= first) values of the subjects. Default is TRUE.

Value

A data frame.

Examples

EXAMPLERUN %>% summarize_parameters_distributions()

EXAMPLERUN %>% summarize_parameters_distributions(quantiles = seq(0.05, 0.95, 0.05))
EXAMPLERUN %>% summarize_parameters_distributions(quantiles = NULL)

EXAMPLERUN %>% group_by(STUD) %>% summarize_parameters_distributions()
EXAMPLERUN %>% group_by(STUD) %>% summarize_parameters_distributions(quantiles = NULL)

pnolain/pmxploit documentation built on Jan. 31, 2024, 1:16 p.m.