asIncidenceResult: A tidy implementation of the summarised_result object for...

View source: R/tidyResults.R

asIncidenceResultR Documentation

A tidy implementation of the summarised_result object for incidence results.

Description

A tidy implementation of the summarised_result object for incidence results.

Usage

asIncidenceResult(result, metadata = FALSE)

Arguments

result

A summarised_result object created by the IncidencePrevalence package.

metadata

If TRUE additional metadata columns will be included in the result.

Value

A tibble with a tidy version of the summarised_result object.

Examples


cdm <- mockIncidencePrevalence()
inc <- estimateIncidence(cdm, "target", "outcome")
tidy_inc <- asIncidenceResult(inc)



IncidencePrevalence documentation built on Aug. 8, 2025, 6:38 p.m.