Description Usage Arguments Details See Also
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.
1 2 |
x |
an object from |
y |
the "y" argument is not used in the plot-method for "OutlierDM" object. |
K |
a scalar object that plots the Kaplan-Meire survival curves for the K. If missing, it works with selected K in the model fitting. |
... |
other arguments to the |
This function generates four plots. The top left panel is the scatterplot of survival times against the selected prognostic factor with the line fitted by local censored regression using 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.