powered by
Simple calculations to describe the datatype of variables and quantify the degree of discreteness.
datatype(x, limit = 0.8)
A vector, a numeric matrix or a data frame.
The limit used to define if a variable is treated as discrete or continous, depending on the value of discrete1d.
discrete1d
A data frame with the following variables:
A logical value. Is variable of mode "numeric"?
Value of function discrete1d.
A logical value. Is variable discrete under the given definition of discreteness?
# NOT RUN { data(Election2005) datatype(Election2005[,1:10]) # }
Run the code above in your browser using DataLab