Description Usage Arguments Value See Also Examples
fits Cox models for each risk and group, treating other type of events as censoring.
| 1 | 
| time | vector with times of the first event or follow-up, must be numeric. | 
| risk | vector with type of event, can be numeric or factor/character. | 
| group | vector with group variable, can be numeric or factor/character. | 
| cens | value of 'risk' indicating censored observation (if NULL, the first value of 'risk' vector will be taken). | 
| conf.int | conf.int level of two-sided confidence interval (default = 0.95). | 
a list of length n, where n is number of risks. Each element of a list is a result of summary.coxph function from package survival, where there is only one type of event possible (other are treating as censored).
| 1 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.