Why is pval.size
ignored by ggsurvplot_facet()
?
I am trying to change the size of the p-value text in my survival plot using ggsurvplot_facet()
, but the call to pval.size
appears to be ignored. If anyone can help me change p-value size in my survival plot it would be very much appreciated.
Reproducible example:
library(survival); library(survminer)
fit <- survfit( Surv(time, status) ~ sex, data = colon)
ggsurvplot_facet(fit, colon, facet.by = "rx", palette = "jco", pval = TRUE, pval.size = 20)
ggsurvplot_facet(fit, colon, facet.by = "rx", palette = "jco", pval = TRUE, pval.size = 1)