print.mfp2 {mfp2}R 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.


[Package mfp2 version 1.0.0 Index]