grattan / covid19.model.sa2

4 stars 0 forks source link

Date argument to `by_state` #45

Closed wfmackey closed 4 years ago

wfmackey commented 4 years ago

Allowing users to choose a past date for the initial status for the states would be useful.

eg

early <- simulate_sa2(
  by_state = ymd("2020-03-05"),
  PolicyPars = set_policypars(supermarkets_open = FALSE)
)

late <- simulate_sa2(
  by_state = ymd("2020-04-15"),
  PolicyPars = set_policypars(supermarkets_open = FALSE)
)