Skip to contents

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.

Value

The model matrix (or matrices) for the fit.

Examples

if (FALSE) {
fit <- yppe(Surv(time, status)~arm, data=ipass)
model.matrix(fit)
}