Inspect or change VARIABLE-TYPE.
Usage
px_variable_type(x, value)
# S3 method for class 'px'
px_variable_type(x, value)
Arguments
- x
A px object
- value
A data frame with columns 'variable-code' and 'type'. If value
is missing, the current VARIABLE-TYPE is returned. If NULL, all
VARIABLE-TYPE is removed.
Value
A px object or data frame.