init(data:desiredCount:minimumStride:)
Automatically determine the bins from data.
Declaration
nonisolated init(data: [Value], desiredCount: Int? = nil, minimumStride: Value = 0) where Value : BinaryFloatingPointParameters
- data:
The given data values.
- desiredCount:
The desired number of bins for the given data. If
nil, infer the number of bins automatically from data using 66.3 capped at 200. - minimumStride:
The minimum allowed bin size.
Return Value
The inferred bins.