Learn R Programming

GeDS (version 0.3.3)

print.GeDS: Print Method for GeDS, GeDSgam, GeDSboost

Description

Method for the generic function print that allows to print on screen the main information related to a fitted "GeDS", "GeDSgam", "GeDSboost" class model.

Usage

# S3 method for GeDS
print(x, digits = max(3L, getOption("digits") - 3L), ...)

# S3 method for GeDSgam print(x, digits = max(3L, getOption("digits") - 3L), ...)

# S3 method for GeDSboost print(x, digits = max(3L, getOption("digits") - 3L), ...)

Value

This function returns (invisibly) the same input object, but adding the slot print that contains the three sub-slots:

Nintknots

the number of internal knots of the linear GeDS/FGB-GeDS/GAM-GeDS fit

deviances

the deviances of the three (linear, quadratic and cubic) GeDS/FGB-GeDS/GAM-GeDS fits

call

the call to the function that produced the x object

Arguments

x

The "GeDS", "GeDSgam" or "GeDSboost" class object for which the main information should be printed on screen.

digits

Number of digits to be printed.

...

Potentially further arguments (required by the definition of the generic function).

Details

This method allows to print on screen basic information related to the fitted predictor model such as the function call, the number of internal knots for the linear GeDS/FGB-GeDS/GAM-GeDS fit and the deviances for the three (linear, quadratic and cubic) fitted predictor models embedded in the "GeDS", "GeDSgam" or "GeDSboost" object.

See Also

print for the standard definition.