Plots estimated survival function from an object of class ‘survrec’.

Share:

Description

Additional plots can be added to the same of axes using ‘lines.survrec’.

Usage

1
2
## S3 method for class 'survfitr'
plot(x, conf.int=TRUE, prob = FALSE, ...)

Arguments

x

Object of class survrec (output from calling survrec function).

conf.int

Print the pointwise confidence intervals of the probability or survival function if its value is TRUE or FALSE.

prob

Print of the probability or survival function if its value is TRUE or FALSE respectively.

...

additional arguments passed to the plot function.

Value

Print a plot of class survrec

See Also

psh.fit mlefrailty.fit wc.fit