Description Usage Arguments Details Value Examples
Bin continuous data manually.
1 2 3 4 5 6 7 8 9 10 |
data |
A |
response |
Response variable. |
predictor |
Predictor variable. |
cut_points |
Cut points for binning. |
include_na |
logical; if |
x |
An object of class |
print_plot |
logical; if |
... |
further arguments passed to or from other methods. |
Specify the upper open interval for each bin. 'rbin' follows the left closed and right open interval. If you want to create_bins 10 bins, the app will show you only 9 input boxes. The interval for the 10th bin is automatically computed. For example, if you want the first bin to have all the values between the minimum and including 36, then you will enter the value 37.
A tibble
.
1 2 3 4 5 | bins <- rbin_manual(mbank, y, age, c(29, 31, 34, 36, 39, 42, 46, 51, 56))
bins
# plot
plot(bins)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.