buildrisksets {gamboostMSM} | R Documentation |
Calculates risksets needed for using family multistate
.
buildrisksets(entry, exit, trans, event, statusinfo)
entry |
a vector with entry times. |
exit |
a vector with exit times. |
trans |
a vector with transition types. |
event |
a vector with noncensoring event indicators. |
statusinfo |
a logical indicating if information on the calculation process should be printed. |
This function calculates riksets needed for family multistate
.
A list of length 2 with elements Ci
and Ri
, each
vectors of length n
.
Holger Reulen