tests/testthat/_snaps/split.md

split works

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()`.


Try the incidence2 package in your browser

Any scripts or data that you put into this service are public.

incidence2 documentation built on Oct. 7, 2024, 1:07 a.m.