checkFormat {eatGADS} | R Documentation |
Check and Adjust SPSS Format
Description
Function to check if SPSS format statements are specified correctly in a GADSdat
object.
Usage
checkFormat(GADSdat, type = "SPSS", changeFormat = TRUE)
Arguments
GADSdat |
|
type |
If |
changeFormat |
If |
Details
The function compares SPSS format statements "format"
and actual character length and
decimal places of all variables in a GADSdat
object and its
meta data information. Mismatches are reported and can be automatically adjusted.
Value
Returns a GADSdat
object.
Examples
# Change example meta information (create a value label with incorrect missing code)
pisa2 <- checkFormat(pisa)
[Package eatGADS version 1.1.0 Index]