statmode: Use this function to compute the statistical mode of a...

View source: R/statmode.R

statmodeR Documentation

Use this function to compute the statistical mode of a dataset

Description

Compute the mode

Usage

statmode(x, na.rm = FALSE)

Arguments

x

A vector with numeric or character values

na.rm

Specify if NA should be removed

Value

A value with the statistical mode

Examples

data(whisky_collection)
statmode(whisky_collection$RATING)

dominikjung42/dstools documentation built on June 16, 2024, 2:40 a.m.