stat_mode: Find the mode from a set of samples

Description Usage Arguments Value Examples

View source: R/genericfns.R

Description

This function finds the mode from a set of samples on a discrete space, i.e. it returns the value which is sampled the most often.

Usage

1

Arguments

x

vector

Value

a numeric

Examples

1
2
x <- rpois(lambda = 10,n=1000)
stat_mode(x)

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.