Reconstruct the model matrix (or matrices if the alternative formulation of the YP model is used) for a yppe model.
Usage
# S3 method for yppe
model.matrix(object, ...)
Arguments
- object
an object of the class yppe.
- ...
further arguments passed to or from other methods.
Examples
if (FALSE) {
fit <- yppe(Surv(time, status)~arm, data=ipass)
model.matrix(fit)
}