plot
method for "kaps" with extended facilities. It provides four panels consisting of a scatter plot, a Kaplan-Meier survival curve, an overall p-values, and a plot with the worst-pair p-values against K.
"plot"(x, y = NA, K, ...)
kaps
plot.default
function can be passed here.locfit
. The top right panel is a Kaplan-Meier survival curve for the subgroups selected with the optimal K. At the bottom are displayed the plots of the overall and worst-pair p-values against K. The dotted lines indicate thresholds for significance 0.05.The outputs for a specific K can also be printed out with the argument K. For the sake of the Kaplan-Meire curve with estimated subgroups, in addition, the function km.curve
is provided.
kaps
km.curve