setNumHistogramBins: Set the number of histogram bins

Description Usage Arguments Value

View source: R/utilities-histogram.R

Description

Set the number of bins for the histogram, given either the entered number of bins, the entered granularity, or the vector of bins.

Usage

1
setNumHistogramBins(nBins, granularity, varType, bins)

Arguments

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()

Value

No return value, will only send an error message if variable tyep is invalid.


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.