Skip to contents

modulePrevalence

Usage

modulePrevalence(result, .softValidation = FALSE)

Arguments

result

(summarised_result) Result from either estimatePeriodPrevalence() or estimatePointPrevalence() function from the IncidencePrevalence pacakge.

.softValidation

(logical(1): FALSE) When TRUE will throw the failed check as a warning.

Value

ShinyModule

Examples

if (interactive()) {
  modulePrevalence(result)
}