draw_trajectories: Draw trajectories of a SEM

View source: R/SEM-process.R

draw_trajectoriesR Documentation

Draw trajectories of a SEM

Description

Line plot of the compartment sizes over time.

Usage

draw_trajectories(SEM, t_end = 10, xlab = "Time", include_legend = FALSE)

Arguments

SEM

list corresponding to stochastic epidemic process

t_end

end time of the simulation period

xlab

label of x-axis

include_legend

logical; wehther to include a legend

Value

save a figure of the compartments' trajectories


rmorsomme/PDSIR documentation built on April 27, 2023, 2:56 p.m.