Description Usage Arguments Value Examples
View source: R/hmi_smallfunctions_2018-05-09.R View source: R/hmi_smallfunctions_2018-04-30.R View source: R/hmi_smallfunctions_2018-02-28.R View source: R/hmi_smallfunctions_2018-01-31.R View source: R/hmi_smallfunctions_2018-01-26.R View source: R/hmi_smallfunctions_2018-01-21.R View source: R/hmi_smallfunctions_2017-12-28.R View source: R/hmi_smallfunctions_2017-12-20.R View source: R/hmi_smallfunctions_2017-11-14.R View source: R/hmi_smallfunctions_2017-09-14.R View source: R/hmi_smallfunctions_2017-09-01.R View source: R/hmi_smallfunctions_2017-02-21.R View source: R/hmi_smallfunctions_2017-02-05.R View source: R/hmi_smallfunctions_2017-01-13.R View source: R/hmi_smallfunctions_2017-01-05.R View source: R/hmi_smallfunctions_2016-12-22_01.R View source: R/hmi_smallfunctions_2016-12-14_04.R View source: R/hmi_smallfunctions_2016-12-14_03.R View source: R/hmi_smallfunctions_2016-12-09_01.R View source: R/hmi_smallfunctions_2016-12-08_01.R View source: R/hmi_smallfunctions_2016-08-02.R View source: R/hmi_smallfunctions_2016-07-21.R View source: R/hmi_smallfunctions_2016-07-14.R View source: R/hmi_smallfunctions.R
Function checks wether a variable is: ...
continuous (numeric values),
semicontinuous (numeric values with more than 5% of them are 0),
rounded continuous (if continuous values are rounded to the closest multiple of 5, 10, 50, 100, 500 or 1000. We see this to be the case if more than 50% of the observations are devisable by 5)
count data (if all values are integers).
an intercept (the same value for all observations),
binary (two different values - like 0s and 1s or "m" and "f"),
categorical (the variable is a factor or has more than 3 different values)
orderd categorical (the categorical variable is ordered.)
1 | get_type(variable)
|
variable |
A variable (vector) from your data set. |
A character denoting the type of variable
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.