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

Description Usage Arguments Details

View source: R/getCoxInfo.R

Description

Extract design matrix for phreg objects

Usage

1
2
## S3 method for class '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.


riskRegression documentation built on Jan. 13, 2021, 11:12 a.m.