Print an ALE object with the base::print() generic.
Method usage
print(x, details = TRUE, ...)Method arguments
x: An object of classALE.details: logical(1). IfTRUE(default), all brief details are printed. IfFALSE, only minimal information is printed....: Additional arguments (currently not used).
Examples
# \donttest{
lm_cars <- stats::lm(mpg ~ ., mtcars)
ale_cars <- ALE(lm_cars, p_values = NULL)
print(ale_cars)
#> <ALE> object of a <lm> model that predicts `mpg` (a numeric outcome) from a 32-row by 11-column dataset.
#> ALE data and statistics are provided for the following terms:
#> 10 1D terms: cyl, disp, hp, drat, wt, qsec, vs, am, gear, and carb
#> no 2D terms:
#> The results were not bootstrapped.
# }
