get_mode: Get the mode (most common value) of a vector

Description Usage Arguments

View source: R/utils.R

Description

Get the mode (most common value) of a vector

Usage

1
get_mode(v, na.rm = TRUE)

Arguments

v

a vector

na.rm

Logical. If TRUE (the default), find mode of non-NA values


belayb/drugprepr documentation built on Dec. 19, 2021, 7:44 a.m.