View source: R/summary.flexsurvmix.R
probs_flexsurvmix | R Documentation |
Probabilities of competing events from a flexsurvmix model
probs_flexsurvmix(x, newdata = NULL, B = NULL)
x |
Fitted model object returned from |
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. |
B |
Number of simulations to use to compute 95% confidence intervals,
based on the asymptotic multivariate normal distribution of the basic
parameter estimates. If |
A data frame containing the probability that each of the competing
events will occur next, by event and by any covariate values specified in
newdata
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.