You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have little wrappers for p-values calculated with survival::survdiff() via add_p(), which includes some of the tests you list above.
The real beauty of this pkg, however, is that is integrates with fully with ggplot, so you don't need the package to implement anything for you. You can just calculate a p-value and add it as a caption or place it in the plot, or put it wherever, using the ggplot functions. Here are some examples placing p-values on the figure: https://www.danieldsjoberg.com/ggsurvfit/reference/survfit2_p.html
I'm curious if other tests such as weighted log-rank, generalized Wilcoxon, Peto-Peto m.m. can be implemented in the add_p function similar to ggsurvplot.
A reference for example: https://rpkgs.datanovia.com/survminer/articles/Specifiying_weights_in_log-rank_comparisons.html
Or is this already implemented and I've failed to locate the help texts? :)
All the best,
The text was updated successfully, but these errors were encountered: