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

View source: R/utility.R

isrcsR 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

shrink documentation built on Nov. 2, 2023, 6:05 p.m.