get_mode {drugprepr}R Documentation

Get the mode (most common value) of a vector

Description

Get the mode (most common value) of a vector

Usage

get_mode(v, na.rm = TRUE)

Arguments

v

a vector

na.rm

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


[Package drugprepr version 0.0.4 Index]