Description Usage Arguments Value Author(s) See Also Examples

View source: R/drawPositiveRate.R

This function plots a time series of either the positive rate of COVID-19 tests or the number of tests per case.

1 2 |

`data` |
data frame including columns |

`countries` |
vector of characters srings indicating the countries for which the selected statistic is plotted |

`start` |
beginning date of the time window for which the time series are plotted |

`end` |
ending date of the time window for which the time series are plotted |

`measure` |
statistic for which the time series are plotted |

`curve` |
logical indicating if smoothed curves are drawn |

`bars` |
logical indicating if bars are plotted |

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

No value.

Arto Luoma <arto.luoma@wippies.com>

1 2 | ```
data(dataCovid)
drawPositiveRate(dataCovid,countries=c("Finland","France"))
``` |

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.