powered by
Print number of observations, number of events, total person-time and overall rate of event.
# S3 method for bshazard print(x,...)
number of records in input data
covariate values
total number of events (for each covariate value)
total person-time (for each covariate value)
overall rate
the result of a call to the bshazard function.
other arguments that will be passed forward
bshazard,summary.bshazard,plot.bshazard
data(cancer,package="survival") fit<-bshazard(Surv(time, status==2) ~ 1,data=lung) print(fit)
Run the code above in your browser using DataLab