Description Usage Arguments Value Author(s) See Also Examples

This function forecasts the numbers of new covid cases using a simple linear state space model.

1 2 |

`data` |
data frame including columns |

`region` |
characters string indicating the region for which the forecast is made |

`start` |
beginning date of the observations used in the estimation of the forecasting model |

`end` |
ending date of the observations used in the estimation of the forecasting model |

`np` |
integer indicating the forecasting horizon in days |

`predInt` |
decimal indicating the probability of the forecasting interval |

`log` |
logical indicating if a log scale is used in the plot |

No value.

Arto Luoma <arto.luoma@wippies.com>

1 2 | ```
data(dataCovidFin)
plotForecast(data=dataCovidFin, region='All regions', start="2020-09-01")
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.