Click or drag to resize
Accord.NET (logo)

HistogramNumberOfBins Method

Computes the optimum number of bins based on a BinAdjustmentRule.

Namespace:  Accord.Statistics.Visualizations
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static int NumberOfBins(
	double[] values,
	DoubleRange range,
	BinAdjustmentRule rule
)
Request Example View Source

Parameters

values
Type: SystemDouble
range
Type: AccordDoubleRange
rule
Type: Accord.Statistics.VisualizationsBinAdjustmentRule

Return Value

Type: Int32
See Also