dementia: A set of datasets relatead to dementia

Description Usage Format Details Examples

Description

Dataset from the book ,,Modele liniowe i mieszane w R, wraz z przykladami w analizie danych”.

Usage

1

Format

data.frame with 1000 obs. and 4 variables

demscore

score of dementia

age

age, a factor with two levels

sex

sex, a factor with two levels

study

a source of data, a factor with 10 levels

Details

Dataset from the book ,,Modele liniowe i mieszane w R, wraz z przykladami w analizie danych”.

Used as an example of mixed modeling in meta analysis.

Examples

1
2
3
4
5
6
7
## Not run: 
  require(lme4)
  modelFullI <- lmer(demscore~age*sex+(age*sex|study), data=dementia,
                   REML=FALSE)
  summary(modelFullI)

## End(Not run)

pbiecek/PBImisc documentation built on May 24, 2019, 10:35 p.m.