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.
See also
Other ADNI study protocol/phase:
adni_phase()
,
adni_phase_order_num()
,
adni_pttype()
,
adni_study_track()
,
convert_adni_phase_order_num()
,
original_study_protocol()
Examples
if (FALSE) { # \dontrun{
create_col_protocol(data = ADNIMERGE2::VISITS, phaseVar = "Phase")
} # }