Create groups based on the lowest and highest values in R

Create groups based on the lowest and highest values in R

Create groups based on the lowest and highest values in R, to divide an input vector into n buckets, use the ntile() function in the R dplyr package.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × two =