Helper function used for calling inside msboot.relsurv (used for every bootstrap dataset). This function is used for calculating split hazards and evaluating them at all needed times.
msboot.relsurv.boot(
data,
transmat,
all_times,
split.transitions,
rmap,
time.format,
boot_orig_msfit = FALSE,
ratetable = relsurv::slopop,
add.times
)
A list of calculated values for the given bootstrap sample.
An object of class 'msdata' containing a bootstrapped sample
The transition matrix of class transMat
All times at which the hazards have to be evaluated
An integer vector containing the numbered transitions that should be split. Use same numbering as in the given transition matrix
An optional list to be used if the variables in the dataset are not organized (and named) in the same way as in the ratetable object
Define the time format which is used in the dataset Possible options: c('days', 'years', 'months'). Default is 'days'
Logical, if true, do the bootstrap for the basic msfit model
The population mortality table. A table of event rates, organized as a ratetable object, see for example relsurv::slopop. Default is slopop
Additional times at which hazards should be evaluated
Damjan Manevski damjan.manevski@mf.uni-lj.si
msboot.relsurv