plot.funsurv {FunSurv} | R Documentation |
Plot method for 'funsurv' objects
Description
Plot method for 'funsurv' objects
Usage
## S3 method for class 'funsurv'
plot(x, what = c("beta", "fpc", "basesurv"), ...)
Arguments
x |
A funsurv object |
what |
A character string specifying what to be plotted.
Use |
... |
additional graphical parameters to be passed to methods. |
Value
A ggplot object ...
Examples
data(simDat)
fit <- AR1_FRAILTY(Recur(t_start %to% t_stop, id, status) ~ z1,
sdat = sdat, fdat = fdat, iter.max = 30)
plot(fit, what = "beta")
plot(fit, what = "fpc")
plot(fit, what = "basesurv")
[Package FunSurv version 1.0.0 Index]