print.shapr | R Documentation |
Print method for shapr objects
## S3 method for class 'shapr'
print(
x,
what = c("shapley_est", "shapley_sd", "MSEv", "MSEv_explicand", "MSEv_coalition",
"timing_summary"),
digits = 3L,
...
)
x |
A shapr object |
what |
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 |
digits |
Integer. Number of significant digits to display. Defaults to 3. |
... |
Further arguments passed to |
The object is returned invisibly after printing selected output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.