View source: R/ch.binNumbers.r
ch.binNumbers | R Documentation |
This function creates bins for a vector of numbers.
ch.binNumbers(data, numBins, centerLabels = TRUE)
data |
A numeric vector. |
numBins |
The number of bins you want the vector divided into. |
centerLabels |
A boolean, if TRUE will create labels that are the center of the bin. If FALSE, the labels will be the max number in the bin. DEFAULT = TRUE ' |
A vector of bins that match to the rows of "data".
ch.binNumbers (rnorm(100, 10, 2), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.