diet: Diet Data

dietR Documentation

Diet Data

Description

Longitudinal epilepsy data from \insertCitemorrisDietHeartPostscript1977;textualgalamm. This documentation is based on Chapter 14.2 of \insertCiteskrondalGeneralizedLatentVariable2004;textualgalamm, where the dataset is used. See also \insertCiterabe-heskethCorrectingCovariateMeasurement2003;textualgalamm.

Usage

diet

Format

diet A data frame with 236 rows and 7 columns:

id

Subject ID.

age

Age (standardized).

bus

Dummy variable indicating whether the subject is a bus driver or banking staff.

item

Integer indicating whether the outcome is fiber intake at time 1 (item = 1), fiber intake at time 2 (item = 2), or coronary heart disease (item = 3).

y

Outcome.

chd

Dummy variable indicating whether y is an indicator for coronary heart disease, coded as 0/1.

fiber

Dummy variable indicating whether y is a fiber measurement at either timepoint 1 or 2.

fiber2

Dummy variable indicating whether y is a fiber measurement at timepoint 2.

Source

http://www.gllamm.org/books/readme.html#14.2

References

\insertAllCited

See Also

Other datasets: cognition, epilep, hsced, latent_covariates, latent_covariates_long, lifespan, mresp, mresp_hsced


galamm documentation built on June 8, 2025, 12:42 p.m.