View source: R/makeplot_shiny.R
makeplot | R Documentation |
Plot Wednesday challenge data (no animation)
makeplot(df, basehaz)
df |
data.frame - output of 'duration_sim' |
basehaz |
numeric - value of 'baseline_haz' variable. Range should restrict to output of 'duration_sim' |
Meant to be used within Shiny app
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.