Skip to contents

The function makes a plot of the model compartments.

Usage

# S3 method for Zika_model_simulation
plot(x, type, var_select = NULL, keep = NULL, ...)

Arguments

x

Zika_model_simulation object.

type

Character of model compartment type to plot. allowed are c("H", "M") for Human and Mosquito.

var_select

Vector of variable names to plot (default is all)

keep

name of variable to stratify by (allowed are c("patch", "vaccine") for type H and "patch" for type M. Default is no stratification)

...

additional arguments affecting the plot produced.