View source: R/cut_by_quantile.r
cut_by_quantile | R Documentation |
Divides the range of a numeric vector by the quantiles provided ('q').
cut_by_quantile(x, q = seq(0, 1, by = 0.2))
x |
A numeric vector |
q |
A numeric vector |
A factor vector with the interval range of the quantiles.
x <- rnorm(10)
cut_by_quantile(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.