View source: R/create_cross_sec_overview.R
create_cross_sec_overview | R Documentation |
Create a data.table that shows the i-th obsersvation of several time series.
create_cross_sec_overview(list_of_rows, col_labels, tsl, selected_period)
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. |
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)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.