Rdocumentation
powered by
Learn R Programming
lpbrim (version 1.0.0)
mostFrequent: Most frequent value
Description
Returns the most frequent value in a vector
Usage
mostFrequent(vec, w = NA)
Arguments
vec
The vector of labels
w
The weights of each elements (currently not used)