
Last chance! 50% off unlimited learning
Sale ends in
calc(x, fun=quantile)
.quantile(x, ...)
na.rm=TRUE
, ncells=NULL
, and additional arguments to the stats::quantile function, see quantile
density
, cellStats
r <- raster(ncol=100, nrow=100)
r[] <- rnorm(ncell(r), 0, 50)
quantile(r)
quantile(r, probs = c(0.25, 0.75), type=7,names = FALSE)
Run the code above in your browser using DataLab