powered by
Change the SPSS format of a variable as part of a GADSdat or all_GADSdat object.
GADSdat
all_GADSdat
changeSPSSformat(GADSdat, varName, format)
Returns the GADSdat object with changed meta data..
GADSdat object imported via eatGADS.
eatGADS
Character string of variable names.
A single string containing the new SPSS format, for example 'A25' or 'F10'.
Applied to a GADSdat or all_GADSdat object, this function is a wrapper of getChangeMeta and applyChangeMeta.
getChangeMeta
applyChangeMeta
pisa2 <- changeSPSSformat(pisa, varName = "idstud", format = "F10.0")
Run the code above in your browser using DataLab