plot.survfit_npdf function

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

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, ...)

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

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 )

See Also

plot.npdf, survfit_npdf

  • Maintainer: Francesca Gasperoni
  • License: GPL-3
  • Last published: 2019-03-13