plot_surv_output: Plots KM from simulations to compare to the data

Description Usage Arguments Value

Description

Plots KM from simulations to compare to the data

Usage

1
2
plot_surv_output(data_KM, sim_data, rate_str = NULL, leg.x = 250,
  leg.y = 1)

Arguments

data_KM

The KM object of the data

sim_data

The simulated data: either a KM object or a data.frame from run-simulations.R and simulate-infections.R

rate_str

Legend text when a simulated KM is passed in. Otherwise this is populated from the simulation results

leg.x,leg.y

Legend position coordinates

Value

a KM plot with multiple outputs


bryanmayer/multdr documentation built on May 13, 2019, 8:11 a.m.