powered by
Reconstruct the model matrix for a survstan model.
# S3 method for survstan model.matrix(object, ...)
The model matrix (or matrices) for the fit.
an object of the class survstan.
further arguments passed to or from other methods.
# \donttest{ library(survstan) fit <- aftreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, baseline = "weibull", init = 0) model.matrix(fit) # }
Run the code above in your browser using DataLab