model.matrix.phreg {riskRegression}R Documentation

Extract design matrix for phreg objects

Description

Extract design matrix for phreg objects

Usage

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

Arguments

object

a phreg object.

data

a dataset.

...

not used

Details

mainly a copy paste of the begining of the phreg function.


[Package riskRegression version 2023.12.21 Index]