shapley
.This function creates an object of class shapley
that is returned by the shapley
function.
new_shapley(phi = numeric(), mu_tilde = NULL, non_centrality = NULL)
Named list of class shapley
, containing the input parameters.
A \(p\)-dimensional vector (or a \(n \times p\) matrix) containing the Shapley values (outlyingness-scores) of a \(p\)-dimensional data vector (or a \(n \times p\) data matrix).
Optional. A \(p\)-dimensional vector (or a \(n \times p\) matrix) containing the alternative reference points based on the regular cells of the original observations.
Optional. The non-centrality parameters for the Chi-Squared distribution,
which are given by mahlanobis(mu_tilde, mu, Sigma)
.