A tidy implementation of the summarised_result object for incidence results.
asIncidenceResult.Rd
A tidy implementation of the summarised_result object for incidence results.
Examples
# \donttest{
cdm <- mockIncidencePrevalence()
#> Note: method with signature ‘DBIConnection#Id’ chosen for function ‘dbExistsTable’,
#> target signature ‘duckdb_connection#Id’.
#> "duckdb_connection#ANY" would also be valid
inc <- estimateIncidence(cdm, "target", "outcome")
#> ℹ Getting incidence for analysis 1 of 1
#> ✔ Overall time taken: 0 mins and 1 secs
tidy_inc <- asIncidenceResult(inc)
# }