Learn R Programming

ggrcs (version 0.4.3)

predata.lrm: predata.lrm

Description

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

Usage

# S3 method for lrm
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.