count_by_breaks | R Documentation |
Count number of values between breaks
count_by_breaks(x, breaks, use_outer = FALSE)
x |
A vector. |
breaks |
A vector of breaks (should be sorted). |
use_outer |
Whether to use |
A vector of counts corresponding of the number of values of x that are between each breaks.
count_by_breaks(x = 1:10, breaks = c(0.5, 1, 3, 9, 9.5, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.