simulate_departure_delays: Simulate flight departure delays

Description Usage Arguments Value Examples

Description

Simulate flight departure delays

Usage

1
simulate_departure_delays(flights_in, nsim = 20, split_date = "2013-07-01")

Arguments

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

Value

Simulation results. Probably quite big.

Examples

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)

MangoTheCat/dbloadss documentation built on May 28, 2019, 5:33 p.m.