model.matrix.ypbp: Model.matrix method for ypbp models

Description Usage Arguments Value Examples

View source: R/utils.R

Description

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

Usage

1
2
## 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

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

YPBP documentation built on July 1, 2020, 10:19 p.m.