Description Usage Arguments Details Value See Also Examples
fitcox
fits a Cox proportional hazards model.
1 |
formula |
A formula object. |
delta |
Censoring indicator. |
data |
A data frame. |
The object returned has the attributes:
The formula used to generate the model
The column containing the censoring indicator
The total number of observations
The number of events i.e. uncensored observations
The number of distinct event times
The distinct event times
The number of events taking place at each event time
The baseline hazard at each event time
An object of class fitcox
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.