Print Method for Shapr Objects
# S3 method for shapr
print(
x,
what = c("shapley_est", "shapley_sd", "MSEv", "MSEv_explicand", "MSEv_coalition",
"timing_summary"),
digits = 3L,
...
)The object is returned invisibly after printing selected output.
A shapr object
Character. Which component to print.
Options are "shapley_est", "shapley_sd", "MSEv", "MSEv_explicand", "MSEv_coalition", and "timing_summary".
Defaults to "shapley_est".
Only one component can be printed at a time.
See the details section of get_results() for details about each component.
Integer. Number of significant digits to display. Defaults to 3.
Further arguments passed to data.table::print.data.table().