Description Usage Arguments Details Value Author(s) References See Also Examples
Function for determinig the variable type.
1 2 3 4 5 6 7 8 9 |
object |
Vector, matrix, or data frame of data to determin the type of. |
The variable type of a vector, or vector of variable types for each variable in the dataset.
fixed |
varaibles that contain only one value. |
binary |
variables that contain two values. |
ordered-categorical |
variables that contain 3 to 5 postive values. |
unorderd-categorial |
variables that contain characters or more than 5 postive levels |
positive-continuous |
variables that contain more than 5 postive values, NOT including 0s. |
nonnegative |
variables that contain more than 5 postive values, including 0s. |
continuous |
variables that are not belong to any of the above types. |
log-continuous |
log-scaled continuous variable |
Yu-Sung Su suyusung@tsinghua.edu.cn, Masanao Yajima yajima@stat.columbia.edu, M.Grazia Pittau grazia@stat.columbia.edu
Yu-Sung Su, Andrew Gelman, Jennifer Hill, Masanao Yajima. (2011). “Multiple Imputation with Diagnostics (mi) in R: Opening Windows into the Black Box”. Journal of Statistical Software 45(2).
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.