Description Usage Arguments Value Author(s) See Also Examples
Simple calculations to describe the datatype of variables and quantify the degree of discreteness.
1 | datatype(x, limit = 0.8)
|
x |
A vector, a numeric matrix or a data frame. |
limit |
The limit used to define if a variable is treated as discrete or continous, depending on the value of |
A data frame with the following variables:
numeric |
A logical value. Is variable of mode "numeric"? |
discrete |
Value of function |
valdisc |
A logical value. Is variable discrete under the given definition of discreteness? |
Katrin Grimm
discrete1d
1 2 | data(Election2005)
datatype(Election2005[,1:10])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.