format_shapley_info: Internal function to extract the formatted Shapley value...

View source: R/cli.R

format_shapley_infoR Documentation

Internal function to extract the formatted Shapley value table

Description

To be used by both print_iter() and summary.shapr()

Usage

format_shapley_info(internal, iter, digits = 2L)

Arguments

internal

List. Holds all parameters, data, functions and computed objects used within explain() The list contains one or more of the elements parameters, data, objects, iter_list, timing_list, main_timing_list, output, and iter_timing_list.

iter

Integer. The iteration number. Only used internally.

digits

Integer. (Maximum) number of digits to be displayed after the decimal point. Defaults to 2.


shapr documentation built on Aug. 25, 2025, 5:11 p.m.