sits_from_zoo: Import time series in the zoo format to a sits tibble

Description Usage Arguments Value Author(s) Examples

View source: R/sits_zoo.R

Description

Converts data from an instance of a zoo series to a sits tibble.

Usage

1
2
3
4
5
6
7
sits_from_zoo(
  ts.zoo,
  longitude = 0,
  latitude = 0,
  label = "NoClass",
  name = "unknown"
)

Arguments

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.

Value

Time series in sits tibble format.

Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Examples

1
2
3
4
5
# 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")

e-sensing/sits.data documentation built on Dec. 26, 2019, 11:02 p.m.