| bin | R Documentation | 
Assigns bins to a vector of values
bin(data, nbins, labels = NULL)
data | 
 vector of data to bin  | 
nbins | 
 number of bins to produce  | 
labels | 
 names for the bins  | 
bins of values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.