Learn R Programming

sits (version 0.10.0)

.sits_cube_classified: Create a set of RasterLayer objects to store data cube classification results (only the probs)

Description

Take a tibble containing metadata about a data cube containing time series (each Brick has information for one band) and create a set of RasterLayers to store the classification result. Each RasterLayer corresponds to one time step. The time steps are specified in a list of dates.

Usage

.sits_cube_classified(cube, samples, name, sub_image, output_dir, version)

Arguments

cube

input data cube.

samples

samples used for training the classification model.

name

name of the output cube

sub_image

bounding box of the ROI

output_dir

prefix of the output files.

version

version of the output files

Value

output data cube