Skip to contents

Cmin, Cmax, Cavg, Clast, AUC (linear trapezoidal), Tmax and Tmin per subject (or per run) in a time window, from observation records, as in the app's exposure tables.

Usage

mvp_exposures(x, var = NULL, start = NULL, end = NULL, summarise = FALSE)

Arguments

x

An mvp_sim object from mvp_simulate(), mvp_sensitivity() or mvp_batch().

var

Output to summarise (default: the model's first captured output).

start, end

Time window in model time units (default: the whole simulation).

summarise

For a population simulation, TRUE returns the median, mean, 5th and 95th percentiles of each metric across subjects instead of one row per subject.

Value

A data frame. Times (Tmax, Tmin) are in model time units.

Examples

# \donttest{
if (interactive()) {
  sim <- mvp_simulate(mvp_model("1cmt"), dose = mvp_dose(100), times = mvp_times(48))
  mvp_exposures(sim, "CP", start = 0, end = 24)
}
# }