Closed flaxter closed 3 years ago
just want to make sure we actually want this feature. It would apply only to binary covariates. How would we deal with indicators that could potentially switch multiple times? Also are the provided covariate names necessarily what we want to end up with in the final plot?
An alternative would be to allow the user to manually add this as a layer to the ggplot object returned by plot_rt.
I think we should take labels and timings as input else this won't remain general.
Cool - we can do this as either a list of data frames (one for each group), or one data frame with a group column
Agreed that this should be kept as simple as possible.
Having thought about this - I think it's best done out of the package for now. ggplots in epidemia are easy to modify and add layers to. Will think about reopening if i find time (or if anyone else has time).
@ettieunwin is going to share code with @jscott6