Description Usage Arguments Details Value Author(s) Examples
Discretizes a variable in n states.
1 |
x |
a numeric vector |
classes |
a integer inidcating the numbers of classe for the discretization or a vector indicating the numbers of cut in the x for the discretization. See Details for more information. |
type |
an integer between 1 and 9 selecting one of the nine quantile algorithms to be used. See |
... |
further arguments passed to or from other methods. |
classes
argument may be express as an integer indication the numebr of classes for the discretization, the cuts are calculated using cut
function setting the breaks
arguments to get the specific number of classes. Also is posibble set the cuts inturcing a sequnce of number in [0,1] or by a vector containing specific values of x
to generate the cut.
A numeric
vector of n classes defined in classes
Andres Vallone
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.