Skip to content

Commit

Permalink
change colors of plots
Browse files Browse the repository at this point in the history
  • Loading branch information
johannespiller committed Aug 12, 2024
1 parent 27a3584 commit dd2dd6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vignettes/multi-state.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ where `make_newdata` creates a data set containing all covariates and all their
ggplot(ndf, aes(x=tend)) +
geom_line(aes(y=trans_prob, col=treat)) +
geom_ribbon(aes(ymin = trans_lower, ymax = trans_upper, fill=treat), alpha = .3) +
scale_color_manual(values = c("firebrick2"
, "steelblue")
)+
scale_fill_manual(values = c("firebrick2"
, "steelblue")
)+
facet_wrap(~transition) +
xlim(c(0, 4000)) +
ylim(c(0,1))+
Expand Down

0 comments on commit dd2dd6e

Please sign in to comment.