Skip to contents

This function is used to create COLPROT column in the dataset by renaming any specified columns. It also checks whether the renamed columns contains only ADNI study phase.

Usage

create_col_protocol(.data, phaseVar = NULL)

Arguments

.data

Data.frame

phaseVar

Phase column

Value

A data.frame the same as data with appended column of COLPROT.

Examples

if (FALSE) { # \dontrun{
create_col_protocol(data = ADNIMERGE2::VISITS, phaseVar = "Phase")
} # }