rat: Rat Growth Study

ratR Documentation

Rat Growth Study

Description

Body-weight measurements from rats observed over a five-week period. The data illustrate longitudinal growth curves in several treatment groups.

Usage

rat

Format

A data frame with variables:

resp

Body weight in grams.

time

Week of measurement.

group

Treatment group.

subject

Rat identifier.

Examples


## Not run: 
data(rat)

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

## End(Not run)

## Not run: 
fit <- nparLD(resp ~ group * time,
              data = rat,
              subject = "subject",
              hypothesis = "H0p",
              contrast = list("group:time"))
fit
plot(fit)
plot(fit$MCTP)

## End(Not run)


nparLD documentation built on Aug. 28, 2026, 5:06 p.m.