View source: R/getArrivalTimes.R
getArrivalTimes | R Documentation |
Generate arrival times.
getArrivalTimes(xDaily)
xDaily |
Vector that contains the number of arrivals for each day. |
This function returns a data frame of arrival times with the following entries:
time
(num)name of the seized resource
@seealso rkiToBabsimArrivals
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.