Description Usage Arguments Examples
View source: R/predict_coxme.R
Prediction method for coxme objects
1 2 3 4 5 6 7 |
object |
coxme object. |
newdata |
data.frame new data set. |
type |
type of prediction, linear predictor ("lp") or relative risk ("risk"). |
se.fit |
if TRUE, pointwise standard errors are produced for the predictions. |
strata_ref |
logical, use strata as reference. |
1 2 3 4 | library(coxme)
data(eortc)
fit <- coxme(Surv(y, uncens) ~ trt + (1|center), eortc)
predict_coxme(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.