Code
split(dat, f = dat$hospital)
Condition
Error in `split.incidence2()`:
! `f` argument cannot be used in `split.incidence2()` as the groupings are implicit.
Code
split(dat, drop = TRUE)
Condition
Error in `split.incidence2()`:
! `drop` argument cannot be used with `split.incidence2()`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.