Learn R Programming

mfp2 (version 1.0.0)

print.mfp2: Print method for objects of class mfp2

Description

Enhances printing by information on data processing and fractional polynomials.

Usage

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

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.

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.