Description Usage Arguments Details Value
View source: R/predict.Design.R
Internal function to Calculate Predicted Competing Risks Probability.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | predictDesign(
fit,
newdata = NULL,
type = c("lp", "x", "data.frame", "terms", "adjto", "adjto.data.frame",
"model.frame"),
se.fit = FALSE,
conf.int = FALSE,
conf.type = c("mean", "individual"),
incl.non.slopes = NULL,
non.slopes = NULL,
kint = 1,
na.action = na.keep,
expand.na = TRUE,
center.terms = TRUE,
...
)
|
fit |
a saved crr model fit crated by function
|
newdata |
data frame for prediction. Each row of the data frame contains values of covariates that are required in the crr model. If missing, the original data set that was used to develop the crr model will be used for prediction. |
Calculate predicted probabilities for a competing risks regression model
A vector with the length equal to the number of rows in the data frame, which was used to make prediction. Each element corresponds to a predicted failure probability at the expected time point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.