mutate_ages Creates a dataframe where age and subject timepoint have been added to the data. Both MRI and Test age are calculated, and 'Age' is the mean between these two. If only one of MRI or Test age are present, this one is used for Age.

mutate_ages(data)

Arguments

data

The MOAS or a MOAS generated file.

Value

a data frame with added/replaced age and timepoint variables.

Examples

if (FALSE) { mutate_ages(data) }