Description Usage Arguments Value Examples
bin.custom() cuts numerical data into different bins based on the given cut points. It also gives you the flexibility of naming the bins.
1 2 | bin.custom(x, cut.p, names = NULL, name.style = c("report",
"scientific"))
|
x |
The numerical data needs to be cut |
cut.p |
The cut poins used for the cutting |
names |
The names for the corresponding bins The poit size for the dots |
name.style |
Either "report" or "scientific" style. The "report" style is easier easier to understand for the non-technical audience. While the "scientific" style is more succinct. |
Bins the original values fall within
1 | bin.custom(1:100, cut.p = c(20, 50, 80))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.