isrcs {shrink}R Documentation

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)

Arguments

fit

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

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

[Package shrink version 1.2.3 Index]