prep_S_data.Rd
prep_S_data
prep_S_data(stan_extract, event_type = NA)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'object' in selecting a method for function 'extract': object 'out' not found#' plot_dat <- prep_S_data(stan_out, event_type = "os") ggplot(plot_dat, aes(month, mean, group = type, colour = type)) + geom_line() + ylab("Survival") + geom_ribbon(aes(x = month, ymin = lower, ymax = upper, fill = type), linetype = 0, alpha = 0.2)#> Error in ggplot(plot_dat, aes(month, mean, group = type, colour = type)): could not find function "ggplot"