Mode: Mode

View source: R/Mode.R

ModeR Documentation

Mode

Description

This function returns the mode of a vector, preserving data type. If several values share the mode, all will be returned.

Usage

Mode(x)

Arguments

x

Vector

Note

stolen from https://stackoverflow.com/questions/2547402/how-to-find-the-statistical-mode

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca

See Also

Other util: SQL_in(), big_in(), st_err()


Maritimes/Mar.utils documentation built on Feb. 12, 2024, 11:38 p.m.