Description Usage Arguments Value See Also Examples
View source: R/fitAndTestCompRiskReg.R
fits Cox model for every type of an event including occuring of competing risks.
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). |
a list of length n, where n is number of different types of events. Each element of a list is a result of crr function from cmprsk package for given type of event.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.