Created
November 10, 2022 13:13
-
-
Save MJacobs1985/790ad6890fdbadbd4a8cc6b0676f6182 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ggplot() + | |
geom_line(data=total, mapping=aes(x=time, y=Severity)) + | |
geom_point(data=total, mapping=aes(x=time, y=Severity)) + | |
facet_wrap(~Patientnr, scales="free_x") + coord_cartesian(ylim = c(0, 10)) + | |
geom_vline(pancreas, mapping=aes(xintercept = SurvTimeWeek), linetype="dotted", color = "red", size=1.0) + | |
theme_bw() | |
ggplot() + | |
geom_line(data=total, mapping=aes(x=time, y= Overall_QOL)) + | |
geom_point(data=total, mapping=aes(x=time, y=Overall_QOL)) + | |
facet_wrap(~Patientnr, scales="free_x") + coord_cartesian(ylim = c(0, 100)) + | |
geom_vline(pancreas, mapping=aes(xintercept = SurvTimeWeek), linetype="dotted", color = "red", size=1.0) + | |
theme_bw() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment