Closed smouksassi closed 8 years ago
Thanks for pointing this out, I will work on adding it into the package.
ggalt has it already maybe just import it?https://github.com/hrbrmstr/ggaltThank you for the followup.Samer From: Michael SachsSent: Tuesday, August 2, 2016 08:42To: sachsmc/ggkmReply To: sachsmc/ggkmCc: Samer Mouksassi; AuthorSubject: Re: [sachsmc/ggkm] Using a Stepped version of ribbon for the confidence bands ? (#6)Thanks for pointing this out, I will work on adding it into the package.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
Try it out now using the master branch. install_github("sachsmc/ggkm")
The grey line that appears is for the single case where ph.ecog is NA.
Hi thanks for the nice and only real extension to ggplot to include a KM "stat". I have an issue which is probably related to nousing a stepped ribbon for the confidence intervals. This result in sometimes truncating the ribbon see below the ecog 2 curve while the ecog 3 curve is not shown at all it only appears in the legend : Compare:
rms survplot output
geom_km /stat_km output (ecog 2 ribbon truncated, ecog 3 not shown):
A potential solution is to use code from but it is only a stat we might need to add a "step_ribbon" geom: https://groups.google.com/forum/?fromgroups=#!topic/ggplot2/9cFWHaH1CPs