Description Usage Arguments Value Examples
View source: R/EFdiscretization.R
Discretize a quantitative variable with equal frequency binning if possible
1 | EFdiscretization(continuousX, nX, nbdigitsX = 3)
|
continuousX |
a vector of numeric. |
nX |
an integer corresponding to the desired number of intervals. |
nbdigitsX |
number of significant digits to use in constructing levels. Default is 3. |
a factor.
1 2 3 | data(iris)
disc.Sepal.Length=EFdiscretization(iris$Sepal.Length,5)
summary(disc.Sepal.Length)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.