buildrisksets {gamboostMSM} | R Documentation |
Calculation of risksets
Description
Calculates risksets needed for using family multistate
.
Usage
buildrisksets(entry, exit, trans, event, statusinfo)
Arguments
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. |
Details
This function calculates riksets needed for family multistate
.
Value
A list of length 2 with elements Ci
and Ri
, each
vectors of length n
.
Author(s)
Holger Reulen
[Package gamboostMSM version 1.1.88 Index]