plot: Visualize an object "kaps"

Description Usage Arguments Details See Also

Description

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.

Usage

1
2
	## S4 method for signature 'kaps'
plot(x, y = NA, K, ...) 

Arguments

x

an object from kaps

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 plot.default function can be passed here.

Details

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.

See Also

kaps
km.curve


kaps documentation built on May 2, 2019, 8:29 a.m.