View source: R/make.transition.probs.R
make.transition.probs | R Documentation |
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
make.transition.probs(fit, labs = NULL, ...)
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 |
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
Something will go here
Gianluca Baio
Something will go here
make.surv
## Not run:
# Something will go here
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.