plot.fc_obj {failCompare}R Documentation

generic function that plots fitted values when a object of class "fc_obj" is called

Description

generic function that plots fitted values when a object of class "fc_obj" is called

Usage

## S3 method for class 'fc_obj'
plot(x, km = FALSE, km.ci = FALSE, res = 100, type = "data", ...)

Arguments

x

of class "fc_obj", created using

km

Show kaplan-meier estimates

km.ci

Show 95% confidence limits surrounding kaplan-meier estimates

res

Number of evenly space points within the range of the data for plotting

type

Plotting survival curve of data ("data") versus difference between Kaplan-Meier estimates and predictions from a parametric model ("resid")

...

arguements passed to plot plot

Value

plot and potentially a message about unplotted models in the set


[Package failCompare version 1.0.0 Index]