Plots adjusted survival curves for coxph model for each group. Survival probabilities are calculated from coxph model.

plotSurvival(factorMerger, color, clusterSplit, palette = NULL)

Arguments

factorMerger

object of a class factorMerger

color

Boolean. If TRUE, the default, there is added aesthetic group corresponding to the final cluster split.

clusterSplit

final cluster split definition. A list with two fields:

  • stat cluster statistic (available statistics are: "loglikelihood", "pvalue", "GIC"),

  • value cut threshold / GIC penalty

palette

custom palette