View source: R/print.bshazard.R
print.bshazard | R Documentation |
Print number of observations, number of events, total person-time and overall rate of event.
## S3 method for class 'bshazard'
print(x,...)
x |
the result of a call to the bshazard function. |
... |
other arguments that will be passed forward |
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 |
bshazard,summary.bshazard,plot.bshazard
data(cancer,package="survival")
fit<-bshazard(Surv(time, status==2) ~ 1,data=lung)
print(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.