create_cross_sec_overview: Create an Overview data.table of (last) observations

View source: R/create_cross_sec_overview.R

create_cross_sec_overviewR Documentation

Create an Overview data.table of (last) observations

Description

Create a data.table that shows the i-th obsersvation of several time series.

Usage

create_cross_sec_overview(list_of_rows, col_labels, tsl, selected_period)

Arguments

list_of_rows

list of time series names

col_labels

character list of column labels

tsl

list of time series object to select from

selected_period

numeric date as in defining ts objects.

Examples

tsl <- generate_random_ts(10,lengths = 20)
list_of_rows <- list("group 1" = c("ts1","ts2","ts3","ts4"),
"group 2" = c("ts5","ts6","ts7","ts10"))
# These are no real +,=,- values just random data.
create_cross_sec_overview(list_of_rows,
                         c("+","=","-","random"),
                         tsl,c(1988,12))

tstools documentation built on June 7, 2023, 5:13 p.m.