statmodeTable: computes the mode of data

Usage Arguments Value Examples

View source: R/statmodeTable.R

Usage

1

Arguments

x

a matrix or data.frame

Value

a 2-length vector with the mode value at the first entry and frequency at the second entry.

Examples

1
2
3
xe <- rpois(30,12.3)
xe <- matrix(xe, nrow = 5, ncol = 6)
statmodeTable(x = xe)

mathphysmx/cleanTable documentation built on May 29, 2019, 2:51 p.m.