plot.survfit_npdf {discfrail} | R Documentation |
Plot Kaplan-Meier estimates of group-specific cumulative hazard from a nonparametric discrete frailty model
## S3 method for class 'survfit_npdf'
plot(x, xlab = NULL, ylab = NULL, cols = NULL,
...)
x |
Object returned by |
xlab |
x-axis label |
ylab |
y-axis label |
cols |
vector of colour names or numbers, of the same length as the number of groups |
... |
options to pass to the generic |
x = npdf_cox( Surv(time, status) ~ x, groups=family, data=weibdata2030, K = 2,
estK=FALSE, eps_conv=10^-4)
object = survfit_npdf( x )
plot( object )