Learn R Programming

riskRegression (version 2022.03.22)

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

Description

Extract design matrix for cph objects

Usage

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

Arguments

object

a cph object.

data

a dataset.