| sits_from_zoo {sits} | R Documentation |
Converts data from an instance of a zoo series to a sits tibble.
sits_from_zoo( ts_zoo, longitude = 0, latitude = 0, label = "NoClass", name = "unknown" )
ts_zoo |
Zoo time series. |
longitude |
Longitude of the chosen location. |
latitude |
Latitude of the chosen location. |
label |
Label to attach to the time series (optional). |
name |
Name of the data cube where data comes from. |
Time series in sits tibble format.
Gilberto Camara, gilberto.camara@inpe.br
# Read a time series in ZOO format
data(ts_zoo)
# Convert the zoo series into a sits tibble
data <- sits_from_zoo(ts_zoo,
longitude = -54.2313, latitude = -14.0482,
label = "Cerrado", name = "mod13q1"
)