frequencies

open override fun frequencies(x: IntArray): DoubleArray

Interprets the elements of x[] as values and returns an array representing the frequency for each value

Return

the returned frequencies

Parameters

x

the values for the frequencies


open override val frequencies: IntArray

Returns an array of size numberOfCells containing the frequencies for each value observed. The 0th element is the frequency for the value stored at element 0 of the array returned by the values property

Return

the array of frequencies observed or an empty array