\Header{quinModel}{Model function for the Quinidine data}
\keyword{models}{quinModel}
\begin{Description}\relax
A model function for a model used with the \code{Quinidine} data.
This function calls compiled C code.\end{Description}
\begin{Usage}
\begin{verbatim}
quinModel(Subject, time, conc, dose, interval, lV, lKa, lCl)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{Subject}] a factor identifying the patient on whom the data were collected.

\item[\code{time}] a numeric vector giving the time (hr) at which the drug was
administered or the blood sample drawn.  This is measured
from the time the patient entered the study.

\item[\code{conc}] a numeric vector giving the serum quinidine concentration (mg/L).

\item[\code{dose}] a numeric vector giving the dose of drug administered (mg).
Although there were two different forms of quinidine
administered, the doses were adjusted for differences in
salt content by conversion to milligrams of quinidine base.

\item[\code{interval}] a numeric vector giving the when the drug has been given at
regular intervals for a sufficiently long period of time to
assume steady state behavior, the interval is recorded.

\item[\code{lV}] numeric.  A vector of values of the natural log of the
effective volume of distribution according to \code{Subject} and
\code{time}.
\item[\code{lKa}] numeric.  A vector of values of the natural log of the
absorption rate constant according to \code{Subject} and \code{time}.
\item[\code{lCl}] numeric.  A vector of values of the natural log of the
clearance parameter according to \code{Subject} and \code{time}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
See the details section of \code{\Link{Quinidine}} for a description
of the model function that \code{quinModel} evaluates.\end{Details}
\begin{Value}
a numeric vector of predicted quinidine concentrations.\end{Value}
\begin{Author}\relax
Jose Pinheiro \email{jose.pinheiro@pharma.novartis.com}
and Douglas Bates \email{bates@stat.wisc.edu}\end{Author}
\begin{References}\relax
Pinheiro, J. C. and Bates, D. M. (2000) \emph{Mixed-effects Models in
S and S-PLUS}, Springer. (section 8.2)\end{References}
\begin{Examples}
\begin{ExampleCode}
\end{ExampleCode}
\end{Examples}

