-
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
Should xlim be in coord_cartesian mode? #4
Comments
I changed xlim to Cartesian Coordinates mode, which is the most common type of coordinate system. It will zoom the plot, without clipping the data. By default, ggsurvplot adds the exact value of the pvalue when pval = TRUE. |
I've been to few oncological conference and people rather had p < 0.0001 2016-02-14 10:17 GMT+01:00 Alboukadel KASSAMBARA notifications@github.com:
|
Done! |
Thanks. Good idea. |
Can we plot log cumulative hazard plot? We do have 'cumhaz' function for cumulative hazard. If both x and y axis of cumhaz plot is in log scale then we will have log cumulative hazard plot |
@kassambara Thanks for your great work in creating survminer.
I have one suggestion about xlim parameter.
As I understand more-or-lves when a user specifies
xlim
then this is added toplot
andtable
partsI assume the only situation in which a user would like to cut axes is when there exists a specific time point after which there are only few patients. Like on the example below
In such situation one might not be interested in time below 2000 days. So He would like to provide a limits for xlim and use
xlim
(erroneously) like thisCareful R user might notice the error
and might notice that the graph does not correspond to the previous one.
What have happened is that: first the rows with higer survival times were removed, and then the survival curves where calculated. Which is not the real issue. One would like to still get the smae survival estimates. So I think the
coord_cartesian
is the answer for this problemWhich has the same survival curves as the first graph, but it looks like the risk table is broken.
Could you please be so kind and think about this issue, and change it to
coord_cartesian
with proper risk.table as I am unable to fix your code so that risk.table would look elegant after coord_cartesian?This is the issue I have also when woking with the
survMisc
packag which was removed from CRAN suddenly 3 weeks ago.The text was updated successfully, but these errors were encountered: