public class SturgesBinCalculation extends java.lang.Object implements BinCalculation
| Constructor and Description |
|---|
SturgesBinCalculation(double n,
double min,
double max) |
| Modifier and Type | Method and Description |
|---|---|
double |
binWidth()
Gets the bin width according to the number of bins calculated by Sturges' method.
|
BinCalculationType |
getType() |
int |
numberOfBins()
Gets the number of bins as computed by Sturges' method.
|
public SturgesBinCalculation(double n,
double min,
double max)
public int numberOfBins()
numberOfBins in interface BinCalculationpublic double binWidth()
binWidth in interface BinCalculationpublic BinCalculationType getType()
getType in interface BinCalculation