Reorder a subtype variable based on an external reference vector

reorderingDataframe(mxdfin, clustername, reorderingVariable)

Arguments

mxdfin

Input data frame

clustername

column name for the identified clusters

reorderingVariable

reorder the cluster names based on this variable

Value

the new dataframe and (if present) membership variables

Author

Avants BB