dementia {PBImisc}R Documentation

A set of datasets relatead to dementia

Description

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

Usage

data(dementia)

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

## Not run: 
  require(lme4)
  modelFullI <- lmer(demscore~age*sex+(age*sex|study), data=dementia,
                   REML=FALSE)
  summary(modelFullI)

## End(Not run)

[Package PBImisc version 1.0 Index]