print.mfp2: Print method for objects of class 'mfp2'

View source: R/mfp2.R

print.mfp2R Documentation

Print method for objects of class mfp2

Description

Enhances printing by information on data processing and fractional polynomials.

Usage

## S3 method for class 'mfp2'
print(x, ...)

Arguments

x

mfp2 object to be printed.

...

passed to print methods of underlying model class. A useful option as the digits argument, indicating printed digits.

Value

Two dataframes: the first one contains preprocessing parameters (shifting, scaling, and centering), and the second one includes additional parameters such as df, select, and alpha passed through mfp2. It also returns a list of the final model fitted, which can be either a GLM or Cox model depending on the chosen family.


mfp2 documentation built on Nov. 15, 2023, 1:06 a.m.