stat_get_mode: stat_get_mode

View source: R/stat_get_mode.R

stat_get_modeR Documentation

stat_get_mode

Description

get the mode of a numeric vector

Usage

stat_get_mode(v)

Arguments

v

a numeric vector

Value

get the mode (the most frequent value)

Examples

v<- c(NA, 19, 4, 5, 7, 29, 19, 29, 13, 25, 19, 19)
stat_get_mode(v)

maxbre/myRfuns documentation built on April 15, 2022, 5:45 a.m.