plot.fc_list {failCompare} | R Documentation |
Plotting fitted values when object of class "fc_list" is called
## S3 method for class 'fc_list' plot(x, model = NULL, km = F, res = 100, xlim, ...)
x |
fc_list object (ranked or not). See |
model |
vector of up 1-3 models contained within the "fc_list" object |
km |
logical for showing step function of kaplan-meier estimates alongside model |
res |
fineness of survival function preds (i.e., increments between which the line of the function is drawn). |
xlim |
numeric vector of length 2 describing x axis limits, used to override default of +/- 5% of min and max |
... |
additional arguments passed to plot() |
Plot type "data" shown by default. For "residual" type plot showing (kaplan-meier estimates - parametric model fit) plot a singual model of class=fc_obj. Consider decreasing res if failure time range <10 and increasing if above 100.
plot and a message
plot.fc_obj