Mode: Calculate the Mode of a given Dataset

Description Usage Arguments Value References Examples

Description

Calculates the mode of a given dataset.

Usage

1
Mode(x, na.rm = FALSE)

Arguments

x

A dataset from which the categorical variables are extracted

na.rm

A logical object indicating how to deal with NA values.

Value

Outputs the categorical variables as a data frame.

References

Gregor, jprockbelly and Williams, K. (2012). Is there a built-in function for finding the mode? Retrieved from https://stackoverflow.com/questions/2547402/is-there-a-built-in-function-for-finding-the-mode

Examples

1
# Example Data

oislen/BuenaVista documentation built on May 16, 2019, 8:12 p.m.