Generate arrival times.
Vector that contains the number of arrivals for each day.
This function returns a data frame of arrival times with the following entries:
name of the seized resource
x <- dataCovidBeds20200624 arrivalTimes <- getArrivalTimes(xDaily = x$Infected) # For RKI data, use rkiToBabsimArrivals as follows: arrivalTimes <- rkiToBabsimArrivals(rki = babsim.hospital::rkidata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.