R/summary.ShapleyValue.R

Defines functions summary.ShapleyValue

Documented in summary.ShapleyValue

summary.ShapleyValue <-
function(object, ...) {
	#assignInNamespace("summary.ShapleyValue", summary.ShapleyValue, ns = asNamespace("base"))
	x<-object
   cat("\n")
   cat("Shapley Value for the given game","\n")
   cat("\n")
   print(x$SV)
}

Try the GameTheory package in your browser

Any scripts or data that you put into this service are public.

GameTheory documentation built on Sept. 25, 2023, 5:07 p.m.