Returns the mean x value of an histogram

mean(data: object)
Parameters
data (object)

Returns the median x value from a histogram

median(data: object): number
Parameters
data (object) x sorted in increasing order and y the number of occurrence of each x value
Returns
number: the median of x values
quantile(data: object, cumulativeProbability: number): number
Parameters
data (object) x sorted in increasing order and y the number of occurrence of each x value
cumulativeProbability (number) cumulative probability, a number in the interval [0,1]
Returns
number: the x value calculated using linear interpolation of closest rank