powered by
Change the variable label of a variable as part of a GADSdat or all_GADSdat object.
GADSdat
all_GADSdat
changeVarLabels(GADSdat, varName, varLabel)
Returns the GADSdat object with changed meta data.
GADSdat object imported via eatGADS.
eatGADS
Character string of variable names.
Character string of the new variable labels.
Applied to a GADSdat or all_GADSdat object, this function is a wrapper of getChangeMeta and applyChangeMeta.
getChangeMeta
applyChangeMeta
# Change one variable label pisa2 <- changeVarLabels(pisa, varName = "repeated", varLabel = c("Has a grade been repeated?"))
Run the code above in your browser using DataLab