Description Usage Arguments Details Value Author(s)
This function calculates the risksets needed to calculate the partial likelihood of a multistate model, and/or it's derivatives.
1 | buildrisksets(entry, exit, trans, event, trace)
|
entry |
vector with entry times. |
exit |
vector with exit times. |
trans |
vector with transition types. |
event |
vector with noncensoring event indicators. |
trace |
logical triggering printout of status information during the fitting process. |
This function calculates risksets.
A list of length 2 with elements Ci
and Ri
, each
vectors of length n
.
Holger Reulen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.