make.transition.probs {survHE} | R Documentation |
make.transition.probs
Description
Computes the transition probabilities (to be passed to a Markov model) from
the cumulative hazard curves obtained using fit.models
, using the formula
p(t)=1-exp(H(t-k)/H(t)), where k is the Markov model cycle length (or the
difference across two consecutive times) and t is a generic time
Usage
make.transition.probs(fit, labs = NULL, ...)
Arguments
fit |
an object obtained as output of the call to |
labs |
a vector with labels to identify the 'profiles' ie the combination of covariates that have been passed onto the model formula. If 'NULL' (default), then figures it out from the 'survHE' object. |
... |
additional arguments. Includes the standard inputs to the
call to |
Value
A tibble 'lambda' with an indicator for the treatment arm,
the times at which the probabilities have been computed and nsim
columns each with a simulation of the transition probabilities for
all the times specified by the user
Note
Something will go here
Author(s)
Gianluca Baio
References
Something will go here
See Also
Examples
## Not run:
# Something will go here
## End(Not run)