typecast( object )
## S3 method for class 'ANY':
typecast( object )
## S3 method for class 'matrix':
typecast( object )
## S3 method for class 'data.frame':
typecast( object )
## S3 method for class 'list':
typecast( object )
Arguments
object
Vector, matrix, or data frame of data to determin the type of.
Value
fixedvaraibles that contain only one value.
dichotomousvariables that contain two values.
ordered-categoricalvariables that contain 3 to 5 postive values.
unorderd-categorialvariables that contain characters or more than 5 postive levels
positive-continuousvariables that contain more than 5 postive values, NOT including 0s.
mixedvariables that contain more than 5 postive values, including 0s.
continuousvariables that are not belong to any of the above types.
log-continuouslog-scaled continuous variable
Details
The variable type of a vector, or vector of variable types for each variable in the dataset.
References
Andrew Gelman and M. Grazia Pittau.
A flexible program for missing-data imputation and model checking.
Technical report. Columbia University, New York;