Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tseries

Convert a 'regul' or a 'tsd' object into a time series


Description

Regulated series contained in a 'regul' object or components issued from a time series decomposition with 'tsd' are extracted from their respective object and converted into uni- or multivariate regular time series ('rts' objects in Splus and 'ts' objects in R)

Usage

tseries(x)

Arguments

x

A 'regul' or 'tsd' object

Value

an uni- or multivariate regular time series

Note

To extract some of the time series contained in the 'regul' or 'tsd' objects, use the extract() method

Author(s)

Philippe Grosjean (phgrosjean@sciviews.org), Frédéric Ibanez (ibanez@obs-vlfr.fr)

See Also

Examples

data(releve)
rel.regy <- regul(releve$Day, releve[3:8], xmin=6, n=87, units="daystoyears",
        frequency=24, tol=2.2, methods="linear", datemin="21/03/1989",
        dateformat="d/m/Y")
# This object is not a time series
is.tseries(rel.regy)     # FALSE
# Extract all time series contained in the 'regul' object
rel.ts <- tseries(rel.regy)
# Now this is a time series
is.tseries(rel.ts)       # TRUE

pastecs

Package for Analysis of Space-Time Ecological Series

v1.3.21
GPL-2
Authors
Philippe Grosjean [aut, cre], Frederic Ibanez [aut], Michele Etienne [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.