Description Usage Arguments Value Examples
Simulate flight departure delays
1 | simulate_departure_delays(flights_in, nsim = 20, split_date = "2013-07-01")
|
flights_in |
Data Frame. Input data set (flights) with an id variable |
nsim |
Int. How many simulation runs |
split_date |
A date or ISO 8601 character string to split the data on |
Simulation results. Probably quite big.
1 2 3 4 5 6 | ## Not run:
library(nycflights13)
flights$id <- 1:nrow(flights)
results <- simulate_departure_delays(flights, nsim = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.