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


drugprepr documentation built on Nov. 10, 2021, 1:07 a.m.