Learn R Programming

sits (version 1.4.1)

summary.raster_cube: Summarize data cubes

Description

This is a generic function. Parameters depend on the specific type of input.

Usage

# S3 method for raster_cube
summary(
  object,
  ...,
  tile = object$tile[[1]],
  date = NULL,
  only_stats = FALSE,
  sample_size = 1e+05
)

Value

A summary of the data cube.

Arguments

object

Object of classes "raster_cube".

...

Further specifications for summary.

tile

Tile to be summarized

date

Date to be summarized

only_stats

Show only the statistics? (TRUE/FALSE)

sample_size

Number of sample used to build statistics

Author

Gilberto Camara, gilberto.camara@inpe.br

Examples

Run this code
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",
        data_dir = data_dir
    )
summary(cube)
}

Run the code above in your browser using DataLab