plot.multi_epiparameter: 'plot()' method for <multi_epiparameter> class

View source: R/plot.R

plot.multi_epiparameterR Documentation

plot() method for ⁠<multi_epiparameter>⁠ class

Description

Plots a list of ⁠<epiparameter>⁠ objects by overlaying their distributions.

Usage

## S3 method for class 'multi_epiparameter'
plot(x, cumulative = FALSE, ...)

Arguments

x

A ⁠<multi_epiparameter>⁠ object.

cumulative

A boolean logical, default is FALSE. cumulative = TRUE plots the cumulative distribution function (CDF).

...

further arguments passed to or from other methods.

Details

Unparameterised and discrete ⁠<epiparameter>⁠ objects are not plotted (see is_parameterised() and is_continuous()).

Value

These functions are invoked for their side effect of drawing on the active graphics device.

Author(s)

Joshua W. Lambert

Examples

ebola_si <- epiparameter_db(disease = "Ebola", epi_name = "serial")
plot(ebola_si)

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