Skip to contents

Visualise diseasy modules.

Usage

# S3 method for class 'DiseasyBaseModule'
plot(x, ...)

Arguments

x

(Diseasy*)
The module to generate visualisation for.

...

Parameters sent to the specific plotting methods. See the $plot() method for each module

Value

NULL (called for side effects)

Examples

  immunity <- DiseasyImmunity$new()
  plot(immunity)


  immunity$set_exponential_waning(target = "hospitalisation")
  plot(immunity)


  rm(immunity)