Learn R Programming

shrink (version 1.2.3)

isrcs: Test if rcs from the rms Package was Used in the Fit.

Description

Test if rcs from the rms Package was Used in the Fit.

Usage

isrcs(fit)

Value

A list with two elements:

[[1]]rcs is included in formula (right-hand side), but not as a variable name.
[[2]]variables with rcs

Arguments

fit

a fit object of class lm, glm, coxph, or mfp.