cmprsk: Reduce scale of y axis
This commit is contained in:
parent
c012fc65fe
commit
fb069c4d31
2
secmal.R
2
secmal.R
@ -79,7 +79,7 @@ sma_plot_secmal_haz_dx <- function() {
|
||||
sma_plot_secmal_cmprsk <- function() {
|
||||
cpr <- cuminc(secmal$time_at_risk / 365.25, secmal$time_at_risk_status)
|
||||
ggcompetingrisks(cpr[1], conf.int = TRUE, multiple_panels = FALSE,
|
||||
legend = "none", title = "", ylim = c(0:1),
|
||||
legend = "none", title = "", ylim = c(0,0.5),
|
||||
xlab = "Years", ggtheme = theme_bw(), palette = "lancet")
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user