modemfv: Find the mode in a vector x

View source: R/modemfv.R

modemfvR Documentation

Find the mode in a vector x

Description

Find the mode in a vector x

Usage

modemfv(x, na.rm = TRUE)

Arguments

x

a vector

na.rm

logical to indicate if NA should be removed (defaults to TRUE)

Value

object of length 1, the same type as x

Examples

modemfv(ggplot2::diamonds$carat)

edalfon/efun documentation built on June 23, 2024, 4:17 a.m.