-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post-customization warnings #11
Comments
Minor changes added to ggsurplot() now. Post-customization of color and fill no longer shows warnings. # Fit survival curves
library("survival")
fit<- survfit(Surv(time, status) ~ sex, data = lung)
# Default plot
p <- ggsurvplot(fit, risk.table = TRUE,
pval = TRUE, risk.table.y.text.col = TRUE)
print(p)
# Customize
p$plot <- p$plot + ggthemes::scale_color_pander()
print(p) Thanks, |
Thanks. Could you link to fix-commit? |
kassambara
pushed a commit
that referenced
this issue
Jan 15, 2017
Merge pull request #107 from MarcinKosinski/master
kassambara
pushed a commit
that referenced
this issue
Mar 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Relating to #2 I am trying to post-customize the result theme of the survplot but it looks like colour and fill and pre-determined so post-customization triggers warnings like this
I know that this warning messages are not serious but I would like to know how to omit those warnings in case someone not skilled might think it's a serious problem. Do you know whether I can specify parameters of ggsurvplot so that I would not have such warnings? Or do I can somehow specify those
scale
functions in thetheme
argument ofggsurvplot
?Thanks in advance.
The text was updated successfully, but these errors were encountered: