Learn R Programming

riskRegression (version 2022.09.23)

model.matrix.phreg: Extract design matrix for phreg objects

Description

Extract design matrix for phreg objects

Usage

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

Arguments

object

a phreg object.

data

a dataset.

Details

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