Check whether the mean of a scale variable equals the pooled mean of single items
Source:R/checkScaleConsistency.r
checkScaleConsistency.Rd
Function need the output of the createInputForDescriptives()
function.
For each non-imputed scale, the function checks whether the (unweighted) mean
of the scale variable equals the pooled mean of the single items which form the scale.
Arguments
- GADSdat
Object of class
GADSdat
- inputForDescriptives
The output of the function
createInputForDescriptives()
- id
Name or column number of the ID variable. Argument can be numeric or character
- tolerance
A positive numeric value, indicating the maximum allowed discrepancy between the mean of a scale variable and the pooled mean of single items
- verbose
Logical: Print informations on console?