Description Usage Arguments Value Examples

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

1 2 | ```
## S3 method for class 'ypbp'
model.matrix(object, ...)
``` |

`object` |
an object of the class ypbp. |

`...` |
further arguments passed to or from other methods. |

The model matrix (or matrices) for the fit.

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.