Learn R Programming

MIICD (version 2.1)

plot.DA_surv: plot method for DA_surv objects

Description

plot method for DA_surv objects

Usage

## S3 method for class 'DA_surv':
plot(x, xlab = "Time", ylab = "Survival",
  fun = c("surv", "event"), ...)

Arguments

x
a DA_surv object
xlab
Label for x axis
ylab
Label for y axix
fun
If fun = event, 1 - the surv is drown
...
other arguments