Skip to content

Survminer 0.4.1

Compare
Choose a tag to compare
@kassambara kassambara released this 10 Jan 13:28
· 156 commits to master since this release

New features

  • New function ggflexsurvplot() to create ggplot2-based graphs for flexible survival models.

  • The function ggadjustedcurves() handles now argument method that defines how adjusted curves shall be calculated. With method='conditional'|'marginal' subpopulations are balanced with respect to variables present in the model formula. With method='single'|'average' the curve represents just the expected survival curves.

Major changes

  • The function ggcoxadjustedcurves() is replaced by ggadjustedcurves() (#229).

Minor changes

  • The grouping variable to the ggadjustedcurves() function is now passed as a name (character) of grouping variable not as a vector with values of grouping variable.

  • New argument font.family in ggsurvtable() to change the font family in the survival tables - such as risk, cummulative events and censoring tables. For example font.family = "Courier New" (@Swechhya, #245).

  • Now, in ggsurvplot() the data argument should be strictly provided (@dnzmarcio, #235)

Bug fixes

  • ggforest() no longer tries to bolt a table full of text to the coefficient plot (@mmoisse, #241), instead the annotations are done via ggplot2::annotate, see example at: @fabian-s, #264