Learn R Programming

survrec (version 1.2-2)

plot.survfitr: Plots estimated survival function from an object of class `survrec'.

Description

Additional plots can be added to the same of axes using `lines.survrec'.

Usage

"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