Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdditional data= argument in survminer functions #142
Comments
|
Should be ok now!
require("survival")
fit<- survfit(Surv(time, status) ~ sex, data = lung)
# Drawing survival curves
ggsurvplot(fit, data = lung) |
|
I am having such varning right now when I use survminer code
results
|
|
In your R code, you used : font.risk.table.sutitle and font.ncensor.plot.sutitle instead of font.risk.table.subtitle and font.ncensor.plot.subtitle. It should work after updating the names of the two arguments in your script... |
I'm updating survminer functions to use the .get_data() [ by @pbiecek ] function instead of eval(fit$call$data) .