Description Usage Arguments Value See Also Examples
This function work very well in combination with percentify_cut
to create evenly spaced intervals.
1  | cut_evenly(n)
 | 
n | 
 number of points  | 
numeric vector of length n-1.
percentify_cut
1 2 3 4 5 6 7 8 9 10  | cut_evenly(3)
cut_evenly(4)
cut_evenly(9)
library(dplyr)
# cut_evenly() is primarily used along with percentify_cut() to space the
# cuts easily.
percentify_cut(mtcars, mpg, cut_evenly(4)) %>%
  summarise(mean(wt))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.