
Last chance! 50% off unlimited learning
Sale ends in
Change the SPSS format of a variable as part of a GADSdat
or all_GADSdat
object.
changeSPSSformat(GADSdat, varName, format)
Returns the GADSdat
object with changed meta data..
GADSdat
object imported via 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
.
pisa2 <- changeSPSSformat(pisa, varName = "idstud",
format = "F10.0")
Run the code above in your browser using DataLab