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)
data | The MOAS or a MOAS generated file. |
---|
a data frame with added/replaced age and timepoint variables.
if (FALSE) { mutate_ages(data) }