Hi, is it possible to convert an incidence object into a dataframe and then use this for plotting? The reason I need to do this is because I have to export the file in CSV format out of a secure server (incidence objects not allowed and raw data not allowed - but monthly/weekly counts fine). e.g.
onset <- input_stage1$exp_date_covid19_confirmed
i <- incidence(onset, interval = "1 week: saturday")
plot(i, color = "darkred")
i_df <- as.data.frame(i)
incidence::plot(i_df)
I want to get the same plot for i_df as I in the example above.
Hi, is it possible to convert an incidence object into a dataframe and then use this for plotting? The reason I need to do this is because I have to export the file in CSV format out of a secure server (incidence objects not allowed and raw data not allowed - but monthly/weekly counts fine). e.g.
I want to get the same plot for i_df as I in the example above.