mode: Return mode of a vector of values

Description Usage Arguments Value Examples

Description

Function that return mode that works for both numeric & character/factor data:

Usage

1
mode(x)

Arguments

x

A vector of values

Value

A float number or string of characters that representing values presented most frequently in the vector

Examples

1
coord_estimate <- mode(alf_gps$coord_rd)

hongqi0314/PRAuto.PMML documentation built on May 6, 2019, 11:30 a.m.