print.bshazard: Print a short summary of the hazard rate

Description Usage Arguments Value See Also Examples

View source: R/print.bshazard.R

Description

Print number of observations, number of events, total person-time and overall rate of event.

Usage

1
2
## S3 method for class 'bshazard'
print(x,...)

Arguments

x

the result of a call to the bshazard function.

...

Value

Number of records

number of records in input data

...

covariate values

n.events

total number of events (for each covariate value)

person.time

total person-time (for each covariate value)

rate

overall rate

See Also

bshazard,summary.bshazard,plot.bshazard

Examples

1
2
3
data(lung,package="survival")
 fit<-bshazard(Surv(time, status==2) ~ 1,data=lung)
print(fit)    

bshazard documentation built on May 2, 2019, 5:58 a.m.