print.xgboost: Print info from XGBoost model

print.xgboostR Documentation

Print info from XGBoost model

Description

Prints basic properties of an XGBoost model object.

Usage

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

Arguments

x

An XGBoost model object of class xgboost, as produced by function xgboost().

...

Not used.

Value

Same object x, after printing its info.


xgboost documentation built on Dec. 3, 2025, 5:06 p.m.