Description Usage Arguments Value Examples
Generates list of Events from table.
1 | table_to_events(regressors_table)
|
regressors_table |
Data frame formatted as follows with all fields as strings.
|
Returns a list of Event reference classes. Grouping by event name.
1 2 3 4 5 6 7 | regs_table <- data.frame(event=c("christmas", "christmas", "promotion"),
start=c("2014-12-25", "2015-12-25", "2015-11-27"),
end=c("2014-12-25", "2015-12-25", "2015-11-30"),
time_function= c("none","none","inverse"),
stringsAsFactors=FALSE)
table_to_events(regs_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.