Learn R Programming

coxinterval (version 1.2)

summary.coxinterval: Summary method for Cox model fit

Description

summary method for the class "coxinterval".

Usage

"summary"(object, conf.int = 0.95, scale = 1, ...)

Arguments

object
an object returned by coxaalen or coxdual.
conf.int
level for confidence intervals. If FALSE, no confidence intervals are provided.
scale
scale factor for the confidence intervals, whose limits represent the change in risk associated with one scale unit increase in the corresponding variable.
...
further arguments for other methods.

Value

An object of the class "summary.coxinterval".

Examples

Run this code
# Fit Cox model to dual-right--censored data
fit <- coxdual(Surv(start, stop, status) ~ cluster(id) + trans(from, to)
               + I(z * (to == 1)) + I(z * (from %in% 0 & to == 2))
               + I(z* (from %in% c(NA, 1) & to == 2)), data = dualrc,
               sieve.rate = 2/5)
fit

Run the code above in your browser using DataLab