Learn R Programming

survstan (version 0.0.7.1)

coef.survstan: Estimated regression coefficients

Description

Estimated regression coefficients

Usage

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

Value

the estimated regression coefficients

Arguments

object

an object of the class survstan

...

further arguments passed to or from other methods

Examples

Run this code
# \donttest{
library(survstan)
fit <- aftreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, baseline = "weibull", init = 0)
coef(fit)
# }

Run the code above in your browser using DataLab