View source: R/sits_histogram.R
hist.raster_cube | R Documentation |
This is a generic function. Parameters depend on the specific type of input.
## S3 method for class 'raster_cube'
hist(x, ..., tile = x[["tile"]][[1]], date = NULL, band = NULL, size = 10000)
x |
Object of classes "raster_cube". |
... |
Further specifications for summary. |
tile |
Tile to be shown |
date |
Date to be shown |
band |
Band to be shown |
size |
Number of cells to be sampled |
A histogram of one band of data cube.
Gilberto Camara, gilberto.camara@inpe.br
if (sits_run_examples()) {
# create a data cube from local files
data_dir <- system.file("extdata/raster/mod13q1", package = "sits")
cube <- sits_cube(
source = "BDC",
collection = "MOD13Q1-6.1",
data_dir = data_dir
)
hist(cube)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.