pk.tss.monoexponential.population: A helper function to estimate population and popind outputs...

View source: R/tss.monoexponential.R

pk.tss.monoexponential.populationR Documentation

A helper function to estimate population and popind outputs for monoexponential time to steady-state.

Description

This function is not intended to be called directly. Please use pk.tss.monoexponential.

Usage

pk.tss.monoexponential.population(
  data,
  output = c("population", "popind"),
  verbose = FALSE
)

Arguments

data

a data frame as prepared by pk.tss.data.prep(). It must contain at least columns for subject, time, conc, and tss.constant.

output

a character vector requesting the output types.

verbose

Show verbose output.

Details

If no model converges, then the tss.monoexponential.population column will be set to NA. If the best model does not include a random effect for subject on Tss then the tss.monoexponential.popind column of the output will be set to NA.

Value

A data frame with either one row (if population output is provided) or one row per subject (if popind is provided). The columns will be named tss.monoexponential.population and/or tss.monoexponential.popind.


billdenney/pknca documentation built on April 1, 2024, 10:45 p.m.