Description Usage Arguments Value Examples
plotARIMA
Creates a PDF file with the results of the SARIMA fits
to the model and fit data. Both direct fitting and the aggregate results are plotted.
1 2 3 |
mydata |
- dataframe with all the data for this DICE run |
tables.mod |
- a table with the data and the results for the direct Model fit. It includes the mean and the 5-95% percentile (as well as the error) |
tables.fit |
- Optional a table with the data and the results for the fits at the fit_level. It includes the mean and the 5-95% percentile (as well as the error) |
tables.agg.mod |
- A table with aggregate results of the fits |
arima_model |
- A list with the user selection of the ARIMA model. If the user has not selected a model this will be NULL and arima_model_all will have the models selected by auto.arima |
arima_model_all |
- An array with details of the ARIMA model used for model region, the fits regions and the aggregate (the last is only if the User has chosen an ARIMA model for the run) |
covar |
- String. Optional covariate variable for ARIMA fit. 'sh', 'precip' and 'temp' are currently supported. Default is NULL - no covariate |
covar_lag |
- Numeric. Lag time for covariate variable in units of the cadence |
device |
- 'pdf' or 'png'. Default is 'png' of the data |
all_years_epi |
the entire time series for the disease |
err=0 if plots were created
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.