plot.survfit_npdf: Plot Kaplan-Meier estimates of group-specific cumulative...

Description Usage Arguments See Also Examples

Description

Plot Kaplan-Meier estimates of group-specific cumulative hazard from a nonparametric discrete frailty model

Usage

1
2
3
## S3 method for class 'survfit_npdf'
plot(x, xlab = NULL, ylab = NULL, cols = NULL,
  ...)

Arguments

x

Object returned by survfit_npdf representing Kaplan-Meier estimates from a nonparametric discrete frailty model

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 plot function

See Also

plot.npdf, survfit_npdf

Examples

1
2
3
4
 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 )

discfrail documentation built on May 2, 2019, 9:58 a.m.