modes

Description

This function returns an array of the most frequently occurring numbers

Syntax

vector modes(vector vd)

Parameter

vd

a vector, can be a dataset, a range or a column in Origin worksheet.

Return

Returns the vector of the most frequently occurring numbers

Example

col(B) = modes(col(A));