mean.epiparameter {epiparameter}R Documentation

Mean method for ⁠<epiparameter>⁠ class

Description

Mean method for ⁠<epiparameter>⁠ class

Usage

## S3 method for class 'epiparameter'
mean(x, ...)

Arguments

x

An ⁠<epiparameter>⁠ object.

...

dots Not used, extra arguments supplied will cause a warning.

Value

A numeric mean of a distribution or NA.

Examples

ep <- epiparameter_db(
  disease = "COVID-19",
  epi_name = "incubation period",
  single_epiparameter = TRUE
)
mean(ep)

[Package epiparameter version 0.4.1 Index]