Learn R Programming

Greg (version 2.0.2)

prPhNewData: A function for retrieving new_data argument for predict

Description

A function for retrieving new_data argument for predict

Usage

prPhNewData(model, term.label, xlim)

Value

data.frame

Arguments

model

The model fit from coxph() or cph()

term.label

The label that is the one that plotHR() intends to plot.

xlim

The x-limits for the plot if any