powered by
Convert incident2 object to a tibble
# S3 method for incidence2 as_tibble(x, ...)
An incidence() object.
incidence()
Not used.
# NOT RUN { dat <- data.frame(dates = Sys.Date() + 1:100, names = rep(c("Jo", "John"), 5)) dat <- incidence(dat, date_index = dates, groups = names) as_tibble(dat) # }
Run the code above in your browser using DataLab