fm.Shapley: Shapley value computation function

View source: R/Rfmtool.r

fm.ShapleyR Documentation

Shapley value computation function

Description

Calculates the Shapley values of input criteria from general fuzzy measure,

Usage

fm.Shapley(v,env=NULL)

Arguments

v

Fuzzy measure in general representation.

env

Environment variable obtained from fm.Init(n).

Value

output

The output is an array of size n, which contain Shapley values of input criteria.

Author(s)

Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University

Examples


env<-fm.Init(3)
fm.Shapley(c(0, 0.3, 0.5, 0.6, 0.4, 0.8, 0.7, 1),env)

Rfmtool documentation built on Feb. 16, 2023, 9:21 p.m.

Related to fm.Shapley in Rfmtool...