Learn R Programming

ggrcs (version 0.4.3)

predata.coxph: predata.coxph

Description

Generate the predicted data for the function. This is needed for drawing.

Usage

# S3 method for coxph
predata(fit, variables, y, group = NULL)

Value

Data required for plotting.

Arguments

fit

Model function required for prediction.

variables

variable name.

y

the value of the variable.

group

Variables that need to be grouped.