time-series-panel-series {collapse}R Documentation

Time Series and Panel Series

Description

collapse provides a flexible and powerful set of functions and classes to work with time-dependent data:

Table of Functions

S3 Generic Methods Description
findex_by/iby, findex/ix, reindex, unindex, is_irregular, to_plm For vectors, matrices and data frames / lists. Fast and flexible time series and panel data classes 'indexed_series' and 'indexed_frame'.
timeid For time sequences represented by integer or double vectors / objects. Generate integer time-id/factor
flag/L/F default, matrix, data.frame, pseries, pdata.frame, grouped_df Compute (sequences of) lags and leads
fdiff/D/Dlog default, matrix, data.frame, pseries, pdata.frame, grouped_df Compute (sequences of lagged / leaded and iterated) (quasi-)differences or log-differences
fgrowth/G default, matrix, data.frame, pseries, pdata.frame, grouped_df Compute (sequences of lagged / leaded and iterated) growth rates (exact, via log-differencing, or compounded)
fcumsum default, matrix, data.frame, pseries, pdata.frame, grouped_df Compute cumulative sums
psmat default, pseries, data.frame, pdata.frame Convert panel data to matrix / array
psacf default, pseries, data.frame, pdata.frame Compute ACF on panel data
pspacf default, pseries, data.frame, pdata.frame Compute PACF on panel data
psccf default, pseries, data.frame, pdata.frame Compute CCF on panel data

See Also

Collapse Overview, Data Transformations


[Package collapse version 2.0.13 Index]