model.tables.riskIDM | R Documentation |
Extract occupancy probabilities, difference, or ratio between probabilities from an illness death model.
## S3 method for class 'riskIDM'
model.tables(
x,
time = "unique",
indiv = FALSE,
state = utils::tail(x$states$name, 1),
contrast = NULL,
metric = "difference",
...
)
time |
[numeric vector] time at which the probabilities should be extracted. Can be |
indiv |
[logical] should covariate specific probabilities be extracted? |
state |
[character] state relative to which the occupancy probabilities should be extracted. |
contrast |
[character vector] optional argument indicating scenario that are to be compared. |
metric |
[character] how to compare the probabilities between two scenarios: |
object |
[riskIDM] output of the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.