Description Usage Arguments Value Examples
View source: R/rbin-quantile.R View source: R/rbin-quantile.R
Bin continuous data using quantiles.
1 2 3 4 5 6 7 8 9 10 |
data |
A |
response |
Response variable. |
predictor |
Predictor variable. |
bins |
Number of bins. |
include_na |
logical; if |
x |
An object of class |
print_plot |
logical; if |
... |
further arguments passed to or from other methods. |
A tibble
.
1 2 3 4 5 | bins <- rbin_quantiles(mbank, y, age, 10)
bins
# plot
plot(bins)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.