Learn R Programming

sits (version 1.12.0)

sits_to_zoo: Export data to be used to the zoo format

Description

Converts data from a sits tibble to a list of a zoo series.

Usage

sits_to_zoo(data.tb, band = NULL)

Arguments

data.tb

A sits tibble with time series.

band

Name of the band to be exported (if NULL all bands are exported).

Value

List of time series in zoo format.

Examples

Run this code
# NOT RUN {
# read a tibble with 400 samples of Cerrado and 346 samples of Pasture
data(cerrado_2classes)
# export a time series to zoo
zoo.lst <- sits_to_zoo (cerrado_2classes[1:5,])
# }

Run the code above in your browser using DataLab