Description Usage Arguments Value
View source: R/utilities-histogram.R
Set the number of bins for the histogram, given either the entered number of bins, the entered granularity, or the vector of bins.
1 | setNumHistogramBins(nBins, granularity, varType, bins)
|
nBins |
the number of bins entered by the user, may be null |
granularity |
the number of items to be in each bin (i.e. the height of each bin), may be null |
varType |
The variable type of the data that was entered by the user |
bins |
the bin vector either entered by the user or set by determineBins() |
No return value, will only send an error message if variable tyep is invalid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.