Description Usage Arguments Value See Also Examples
divide()
divides numeric into quantiles. It supplements
cut()
by randomize repetitive values into adjacent quantiles.
1 |
x |
A numeric vector. |
n_group |
A positive integer (greater than or equal to 2) giving the number of quantiles into which x is to be divide. |
valid |
An integer vector with the same length of x which takes value from 1:n_group.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.