mode

Contents

Description

This function returns the most frequently occurring number

Syntax

double mode(vector vd)

Parameter

vd

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

Return

Returns the most frequently occurring number

Example

aa = mode(col(A)); //return the most frequently occurring number of column A