powered by
The function returns the mode of a vector. The vector can be of any datatype ie. numerical or categorical.
fn_mode(x)
a vector of string or number
The function returns the mode value of the input vector.
# NOT RUN { fn_mode(c(1,2,3,1,4,1,7)) # }
Run the code above in your browser using DataLab