Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ci

Function to extract confidence interval(s)


Description

Generic function that extracts the confidence interval(s) of an object of class PK.

Usage

ci(obj, method=NULL)

Arguments

obj

An output object of class PK.

method

A character string specifying the method of the confidence interval. If NULL (default) all intervals are returned.

Details

Generic function to allow easy extraction of confidence intervals.

Value

A matrix containing confidence interval bounds.

Author(s)

Thomas Jaki

References

Nedelman J. R., Gibiansky E. and Lau D. T. W. (1995). Applying Bailer's method for AUC confidence intervals to sparse sampling. Pharmaceutical Research, 12(1):124-128.

See Also

Examples

# Example from Nedelman et al. (1995)
conc <- c(2790, 3280, 4980, 7550, 5500, 6650, 2250, 3220, 213, 636)
time <- c(1, 1, 2, 2, 4, 4, 8, 8, 24, 24)

obj <- auc(conc=conc, time=time, method=c("z", "t"), design="ssd")

## all requested ci's
ci(obj)

## a specific ci
ci(obj, method="t")

PK

Basic Non-Compartmental Pharmacokinetics

v1.3-5
GPL-2
Authors
Thomas Jaki <jaki.thomas@gmail.com> and Martin J. Wolfsegger <wolfseggerm@gmx.at>
Initial release
2020-03-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.