summary.variance_cube | R Documentation |
This is a generic function. Parameters depend on the specific type of input.
## S3 method for class 'variance_cube'
summary(
object,
...,
tile = NULL,
intervals = 0.05,
quantiles = c("75%", "80%", "85%", "90%", "95%", "100%")
)
object |
Object of class "class_cube" |
... |
Further specifications for summary. |
tile |
Tile to be summarized |
intervals |
Intervals to calculate the quantiles |
quantiles |
Quantiles to be shown |
A summary of a variance 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
)
# create a random forest model
rfor_model <- sits_train(samples_modis_ndvi, sits_rfor())
# classify a data cube
probs_cube <- sits_classify(
data = cube, ml_model = rfor_model, output_dir = tempdir()
)
variance_cube <- sits_variance(
data = probs_cube,
output_dir = tempdir()
)
summary(variance_cube)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.