Learn R Programming

shinyr (version 0.4.2)

getMostRepeatedValue: Get Most Repeated Value

Description

get most repeated value in a given vector.

Usage

getMostRepeatedValue(vec)

Value

most repeated values in the given set of values

Arguments

vec

Vector to calculate most repeated values

Author

Jayachandra N

Details

getMostRepeatedValue

Examples

Run this code
getMostRepeatedValue(c(1,2,3,3,3,2))
getMostRepeatedValue(c("R", "R", "Python", "Python", "R"))

Run the code above in your browser using DataLab