Learn R Programming

survstan (version 0.0.7.1)

confint.survstan: Confidence intervals for the regression coefficients

Description

Confidence intervals for the regression coefficients

Usage

# S3 method for survstan
confint(object, parm = NULL, level = 0.95, ...)

Value

100(1-alpha) confidence intervals for the regression coefficients.

Arguments

object

an object of the class survstan.

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

the confidence level required.

...

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)
confint(fit)
# }

Run the code above in your browser using DataLab