## load data of epidemiological indicators obtained from the World in data
## organization
data("owid")
## Filter the data to get France epidemiological indicators
library(dplyr)
sel <- filter(owid,iso_code=="FRA")
## Generate a dataframe with the dates and the cases and deaths restored
## using EpiInvert()
df<-data.frame(sel$date,sel$new_cases_restored_EpiInvert,sel$new_deaths_restored_EpiInvert)
## Run EpiIndicators
res <- EpiIndicators(df)
## Plot the results
EpiIndicators_plot(res)
Run the code above in your browser using DataLab