get_mode: Get the mode (most frequent) of a vector

Description Usage Arguments Value Examples

View source: R/get_mode.R

Description

If there is a tie, get the first one.

Usage

1

Arguments

x

a vector

Value

a scalar

Examples

1
get_mode(c(1, 2, 2, 3))

yimingli/r-li documentation built on March 31, 2020, 5:45 a.m.