Learn R Programming

bshazard (version 1.2)

summary.bshazard: Summary of hazard curve

Description

Returns a list containing the hazard curve and confidence limits for the curve.

Usage

# S3 method for bshazard
summary(object, digits = 4,...)

Value

(covariate.value)

values of covariates at which hazard is computed (mean value)

time

mid point of each bin at which the curve is computed

hazard

hazard estimate for each bin

lower.ci

lower limit of the hazard confidence interval (depends on alpha level)

upper.ci

upper limit of the hazard confidence interval (depends on alpha level)

lambda

smoothing parameter

df

degrees of freedom representing the effective number of smoothing parameters

phi

overdispersion parameter

Arguments

object

the result of a call to the bshazard function.

digits

Number of digits to print

...

other arguments that will be passed forward

See Also

bshazard,print.bshazard,plot.bshazard

Examples

Run this code
data(cancer,package="survival")
 summary(bshazard(Surv(time, status==2) ~ 1,data=lung))
 

Run the code above in your browser using DataLab