print.multi_epiparameter: Print method for <multi_epiparameter> class

View source: R/print.R

print.multi_epiparameterR Documentation

Print method for ⁠<multi_epiparameter>⁠ class

Description

Print method for ⁠<multi_epiparameter>⁠ class

Usage

## S3 method for class 'multi_epiparameter'
print(x, ..., n = NULL)

Arguments

x

A ⁠<multi_epiparameter>⁠ object.

...

dots Extra arguments to be passed to the method.

n

A numeric specifying how many ⁠<epiparameter>⁠ objects to print. This argument is passed to head() for list printing. Default is NULL and the number of elements to print is controlled by package options().

Value

Invisibly returns a ⁠<multi_epiparameter>⁠. Called for side-effects.

Examples

# entire database
db <- epiparameter_db()
db

# a single disease
db <- epiparameter_db(disease = "Ebola")
db

# a single epi parameter
db <- epiparameter_db(epi_name = "offspring distribution")
db

epiparameter documentation built on April 3, 2025, 5:50 p.m.