Converts an epi_df object into a tibble, dropping metadata, any
grouping, and any unrelated classes and attributes.
Usage
# S3 method for class 'epi_df'
as_tibble(x, ...)Arguments
- x
 an
epi_df- ...
 if present, forwarded to
tibble::as_tibble
Details
Advanced: if you are working with a third-party package that uses
as_tibble() on epi_dfs but you actually want them to remain epi_dfs,
use attr(your_epi_df, "decay_to_tibble") <- FALSE beforehand.