plot.survfit_npdf {discfrail} | R Documentation |
Plot Kaplan-Meier estimates of group-specific cumulative hazard from a nonparametric discrete frailty model
Description
Plot Kaplan-Meier estimates of group-specific cumulative hazard from a nonparametric discrete frailty model
Usage
## S3 method for class 'survfit_npdf'
plot(x, xlab = NULL, ylab = NULL, cols = NULL,
...)
Arguments
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 |
See Also
Examples
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 )
[Package discfrail version 0.1 Index]