asIncidenceResult {IncidencePrevalence}R 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)



[Package IncidencePrevalence version 1.2.1 Index]