Learn R Programming

riskRegression (version 2020.02.05)

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.