plot.fc_list {failCompare}R Documentation

Plotting fitted values when object of class "fc_list" is called

Description

Plotting fitted values when object of class "fc_list" is called

Usage

## S3 method for class 'fc_list'
plot(x, model = NULL, km = F, res = 100, xlim, ...)

Arguments

x

fc_list object (ranked or not). See fc_rank for information on ranking.

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()

Details

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.

Value

plot and a message

See Also

plot.fc_obj


[Package failCompare version 1.0.0 Index]