Learn R Programming

nlive (version 0.8.0)

dataCog: Made-up longitudinal data on global cognition before death

Description

The dataCog contains 1200 individuals with one line per visit. Repeated measures of global cognition (cognition) were collected over a maximum period of 30 years. Information on the age at death is also provided (ageDeath, ageDeath90).

Arguments

Format

A data frame with 11867 observations over 1200 subjects and 5 variables:

ID

subject identification number

time

the retrospective (negative) time before death (in years)

cognition

composite score of global cognition

ageDeath

age at death (in years)

ageDeath90

age at death centered by the mean

Examples

Run this code

summary(dataCog)

Run the code above in your browser using DataLab