% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{rat}
\alias{rat}
\title{Rat Growth Study}
\format{
A data frame with variables:
\describe{
\item{resp}{Body weight in grams.}
\item{time}{Week of measurement.}
\item{group}{Treatment group.}
\item{subject}{Rat identifier.}
}
}
\usage{
rat
}
\description{
Body-weight measurements from rats observed over a five-week period. The data
illustrate longitudinal growth curves in several treatment groups.
}
\examples{

\dontrun{
data(rat)

fit <- nparLD(resp ~ group * time,
              data = rat,
              subject = "subject",
              hypothesis = "H0F")
fit
}

\dontrun{
fit <- nparLD(resp ~ group * time,
              data = rat,
              subject = "subject",
              hypothesis = "H0p",
              contrast = list("group:time"))
fit
plot(fit)
plot(fit$MCTP)
}

}
\keyword{datasets}
