model.matrix.ypbp {YPBP}R Documentation

Model.matrix method for ypbp models

Description

Reconstruct the model matrix (or matrices if the alternative formulation of the YP model is used) for a ypbp model.

Usage

## S3 method for class 'ypbp'
model.matrix(object, ...)

Arguments

object

an object of the class ypbp.

...

further arguments passed to or from other methods.

Value

The model matrix (or matrices) for the fit.

Examples


fit <- ypbp(Surv(time, status)~arm, data=ipass)
model.matrix(fit)



[Package YPBP version 0.0.1 Index]