Convert left/right variables to a measure of asymmetry
mapAsymVar(
mydataframe,
leftvar,
leftname = "left",
rightname = "right",
replacer = "Asym"
)
Arguments
- mydataframe
dataframe containing relevant variables
- leftvar
left side variable names ie the full names of the variables to asym
- leftname
the variable substring indicating left side
- rightname
the variable substring indicating right side
- replacer
string to replace left with in column names of output