Function checks of which type a variable is. The types are listed below
(together with a rough summary of the classification mechanism).
continuous (numeric values, or integers with more than 20 different values),
semicontinuous (numeric values with more than 10% of them share the same value),
rounded continuous (if more than 50% of the observations of a continuous variable
are divisible by some rounding degrees)
count data (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)
ordered categorical (the categorical variable is ordered.)