Plots the trajectory posteriors from an EpiFusion trajectory table. You can specify the trajectory type (infection, Rt, cumulative infection) using the type parameter, or the function will plot each type by default. You may also specify any number of colours using the plot_colours parameter.

plot_trajectories(trajectory_table, type = NA, plot_colours = NA)

Arguments

trajectory_table

a trajectory table extracted from an EpiFusion posterior object

type

(optional) "infection" "rt" or "cumulativeinfection"

plot_colours

(optional) a vector of colours to be used in the plots