Learn R Programming

IncidencePrevalence (version 1.1.0)

asIncidenceResult: 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)

Value

A tibble with a tidy version of the summarised_result object.

Arguments

result

A summarised_result object created by the IncidencePrevalence package.

metadata

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

Examples

Run this code
# \donttest{
cdm <- mockIncidencePrevalence()
inc <- estimateIncidence(cdm, "target", "outcome")
tidy_inc <- asIncidenceResult(inc)
# }

Run the code above in your browser using DataLab