miceweight: Data set for clinical trial measuring mice weight

miceweightR Documentation

Data set for clinical trial measuring mice weight

Description

Sintetic longitudinal data set based on a clinical trial designed to test two diet treatments in comparison to a control group. The weight of 52 mice (reported in grams) is measured weekly from baseline until week 10 of treatment.

Usage

data(miceweight)

Format

This data frame contains the following columns:

treat

Treatment received (treatment 1 (T1), treatment 2 (T2), or control (C))

mouseID

Mouse ID

week

Week since treatment started

weight

Mouse weight in grams

Details

Dietary supplementations were administered for groups T1 and T2 starting at week 5.

This dataset was created using minor perturbations from a real study for which the original data is not publicly available. Data features such as covariances and skewness were preserved.

See Also

smsn.lmm

Examples

library(ggplot2)

data(miceweight)
ggplot(miceweight) + geom_line(aes(x=week, y=weight, group=mouseID)) +
  facet_wrap(~treat) + theme_bw()

fernandalschumacher/lmmsmsn documentation built on Jan. 21, 2025, 1:24 a.m.