Quinidine Model

DESCRIPTION:
A nonlinear regression for the one-compartment open model with first order absorption. The parameters to be fit are lV, lKa, and lKe.

USAGE:
Quin.func(Subject, time, conc, dose, interval, lV, lKa, lKe)

REQUIRED ARGUMENTS:
Subject:
a factor indicating the subject from whom the sample is drawn.
time:
the "independent" variable.
conc:
the observed concentration of the drug.
dose:
the dose administered to the subject.
interval:
the steady-state dosing interval.
lV:
the parameter giving the logarithm of the volume of distribution.
lKa:
the parameter giving the logarithm of the absorption rate constant.
lKe:
the parameter giving the logarithm of the elimination rate constant.

VALUE:
The predicted responses are returned.

DETAILS:
This function calls the C function nlme_one_comp_open, which is defined in the same file as the rest of the nlme C code.

REFERENCES:
The one-compartment open model with first order absorption is described in section 9.3 of Davidian and Giltinan (1995), "Nonlinear Models for Repeated Measurement Data", Chapman and Hall, London.

SEE ALSO:
nlme , Quinidine .

EXAMPLES:
Quin.nlme <-
   nlme(conc ~ Quin.func(Subject, time, conc, dose, interval,
                         lV, lKa, lKe),
        fixed = list(lV ~ ., lKa ~ ., lKe ~ .),
        random = list(lV ~ ., lKe ~ .),
        cluster =  ~ Subject, data = Quinidine,
        start = list(fixed = c(5, -0.3, -3)),
        re.structure = "d", na.pattern =  ~ !is.na(conc))