Mode: Mode

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Mode

Usage

1
Mode(x)

Arguments

x

Either a vector or a frequency table from table

Value

The modal value of x

Examples

1
2
3
x <- c(3, 1:5)
Mode(x)
Mode(table(x))

healthcareai documentation built on Sept. 2, 2018, 1:03 a.m.