public class Frequency extends Fixed2ArgFunction
Syntax
FREQUENCY(data_array, bins_array)
data_array Required. An array of or reference to a set of values for which you want to count frequencies.
If data_array contains no values, FREQUENCY returns an array of zeros.
bins_array Required. An array of or reference to intervals into which you want to group the values in data_array.
If bins_array contains no values, FREQUENCY returns the number of elements in data_array.
Modifier and Type | Method and Description |
---|---|
ValueEval |
evaluate(int srcRowIndex,
int srcColumnIndex,
ValueEval arg0,
ValueEval arg1)
|
evaluate
public static final Function instance
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1)
Function2Arg
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.