R/fmixmsm.R
qfinal_fmixmsm.Rd
Calculate the quantiles of the time from the start of the process to each possible final (or "absorbing") state in a mixture multi-state model. Models with cycles are not supported.
qfinal_fmixmsm( x, newdata = NULL, final = FALSE, B = NULL, n = 10000, probs = c(0.025, 0.5, 0.975) )
x | Object returned by |
---|---|
newdata | Data frame or list of covariate values. If omitted for a model with covariates, a default is used, defined by all combinations of factors if the only covariates in the model are factors, or all covariate values of zero if there are any non-factor covariates in the model. |
final | If |
B | Number of simulations to use to compute 95% confidence intervals,
based on the asymptotic multivariate normal distribution of the basic
parameter estimates. If |
n | Number of individual-level simulations to use to characterise the time-to-event distributions |
probs | Quantiles to calculate, by default, |
Data frame of quantiles of the time to final state by pathway and covariate value, or by final state and covariate value.