Skip to contents

A tidy implementation of the summarised_result object for prevalence results.

Usage

asPrevalenceResult(result)

Arguments

result

A summarised_result object created by the IncidencePrevalence package.

Value

A tibble with a tidy version of the summarised_result object.

Examples

# \donttest{
cdm <- mockIncidencePrevalence()
prev <- estimatePointPrevalence(cdm, "target", "outcome")
#>  Getting prevalence for analysis 1 of 1
#>  Time taken: 0 mins and 0 secs
tidy_prev <- asPrevalenceResult(prev)
# }