Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Calcula la moda de un conjunto de datos
- moda <- function(x) {
- t <- table(x)
- return(as.numeric(names(t)[t == max(t)]))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement