estimator: Function to extract point estimate(s)

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/extractors.R

Description

Generic function that extracts the point estimate(s) of an object of class PK.

Usage

1
estimator(obj,se=FALSE) 

Arguments

obj

An output object of class PK.

se

Logical variable indicating if the standard error should be provided as well (default=FALSE).

Details

Generic function to allow easy extraction of point estimates.

Value

A matrix containing the point estimate(s) and optionally the standard error(s).

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

ci and test

Examples

1
2
3
4
5
6
7
# 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')

estimator(obj,TRUE)

PK documentation built on April 3, 2020, 1:07 a.m.

Related to estimator in PK...