Description Usage Arguments Value Examples
View source: R/rbin-equal-length.R
Bin continuous data using the equal length binning method.
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_equal_length(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.