coef.survstan function

Estimated regression coefficients

Estimated regression coefficients

## S3 method for class 'survstan' coef(object, ...)

Arguments

  • object: an object of the class survstan
  • ...: further arguments passed to or from other methods

Returns

the estimated regression coefficients

Examples

library(survstan) fit <- aftreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, baseline = "weibull", init = 0) coef(fit)