Mode: Most Frequent Observation

View source: R/vectors.R

ModeR Documentation

Most Frequent Observation

Description

Not to be confused with mode in lowercase, a base R function that returns the storage mode of an object.

Usage

Mode(x)

Arguments

x

Vector

Value

Scalar: most frequent value.

Examples

Mode(c(1, "b", "b", 0.3))

stopsack/khsmisc documentation built on Sept. 22, 2023, 12:26 p.m.