powered by
shapley_mfoc(n = NA, a = NA, d = NA, K = NA)
shapley_mfoc(n=5,a=200,d=c(1.2,1.4,1.2,1.3,0.4),K=c(6,10,8,8,4)) #[1] "Individual cost" #[1] "Shapley value" #[1] 4.000000 6.000000 6.666667 7.916667 15.416667
Run the code above in your browser using DataLab