dominant: Return the dominant class (the mode of a classified variable)

Description Usage Arguments Value Examples

Description

This is a helper method used to return the dominant class of a classified variable. This is equivalent to median for a numeric variable.

Usage

1

Arguments

x

character array, can also be a factor

Value

a 1-length character of the dominant class

Examples

1

harvestchoice/hc-api3 documentation built on May 17, 2019, 3:04 p.m.