predata.coxph {ggrcs}R Documentation

predata.coxph

Description

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

Usage

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

Arguments

fit

Model function required for prediction.

variables

variable name.

y

the value of the variable.

group

Variables that need to be grouped.

Value

Data required for plotting.


[Package ggrcs version 0.4.0 Index]