View source: R/probtrans_ebmstate.R
joint_cum_hazard_function | R Documentation |
This function is not meant to be called by the user. It is
an internal function of probtrans_by_convolution_clockforward
and probtrans_by_convolution_clockreset
.
joint_cum_hazard_function
returns the cumulative
hazard of leaving state i
to any state that can be
reached directly from i
, at each of the time points in t
.
There is no explicit argument i
: this state
is entirely defined by the transitions
that can occur when the patient is in it (and these
transitions
are given in the argument competing_transitions
).
joint_cum_hazard_function(t, competing_transitions, spline_list)
t |
A vector of time points. |
competing_transitions |
The transitions that can occur when the process
is in state |
spline_list |
A list whose elements are spline functions
approximating the cumulative hazard of making each possible transition in
the process. This is normally a list
object created by running |
A vector with the cumulative hazard of leaving a given state evaluated at given time points.
Rui Costa
probtrans_by_convolution_clockforward
;
probtrans_by_convolution_clockreset
;
cumhaz_splines
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.