checkHistogramNBins: Check histogram bins argument

Description Usage Arguments Value

View source: R/utilities-histogram.R

Description

Utility function to check bins argument to histogram. If number of bins is not provided, the Sturges method is used.

Usage

1

Arguments

nBins

The number of cells in which to tabulate values.

n

A numeric vector of length one specifying the number of observations in in the data.

Value

Number of bins


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