Last chance! 50% off unlimited learning
Sale ends in
## S3 method for class 'ANY':
modal(x, ..., ties='random', na.rm=FALSE, freq=FALSE)
## S3 method for class 'Raster':
modal(x, ..., ties='random', na.rm=FALSE, freq=FALSE)
data <- c(0,1,2,3,3,3,3,4,4,4,5,5,6,7,7,8,9,NA)
modal(data, na.rm=TRUE)
Run the code above in your browser using DataLab