AttMOMO | R Documentation |
Run AttMOMO base and baseline adjusted models. Read input data, create output directories and return csv-file with estimates. Demanded input files must be available in wdir/data
AttMOMO(
country,
wdir,
StartWeek,
EndWeek,
groups,
pooled = NULL,
indicators,
lags = 2,
ptrend = 0.05,
p26 = 0.05,
p52 = 0.1,
Rdata = FALSE
)
country |
Country name. |
wdir |
Working directory. |
StartWeek |
ISOweek format |
EndWeek |
ISOweek format |
groups |
list of group names |
pooled |
list of group names to be pooled (default = NULL) Must be part of groups. |
indicators |
list if indicator variables. One file for each must be available: IndicatorName_data.txt |
lags |
weeks of lagged effect (default = 2, max = 9) |
ptrend |
significance of trend to be included (default = 0.05) |
p26 |
significance of half year-sine be included (default = 0.05) |
p52 |
significance of year-sine be included (default = 0.10) |
Rdata |
Return data to R (TRUE/FALSE - default FALSE). |
Write a ;-separated file AttData_indicators.txt in output directory/output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.