summary
Compute summary statistics (min, max, mean, and quartiles) for SpatRaster using base summary
method. A sample is used for very large files.
## S4 method for signature 'SpatRaster' summary(object, size=100000, warn=TRUE, ...) ## S4 method for signature 'SpatVector' summary(object, ...)
object |
SpatRaster or SpatVector |
size |
positive integer. Size of a regular sample used for large datasets (see |
warn |
logical. If |
... |
additional arguments passed on to the base |
matrix with (an estimate of) the median, minimum and maximum values, the first and third quartiles, and the number of cells with NA
values
set.seed(0) r <- rast(nrow=10, ncol=10, nlyr=3) values(r) <- runif(nlyr(r)*ncell(r)) summary(r)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.