Learn R Programming

PBImisc (version 1.0)

dementia: 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)

Arguments

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

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

Run the code above in your browser using DataLab