R/plot.ClaimsRules.R

Defines functions plot.ClaimsRules

Documented in plot.ClaimsRules

plot.ClaimsRules<-
function(x,y, ...){
#assignInNamespace("plot.ClaimsRules", plot.ClaimsRules, ns = asNamespace("stats"))
nam<-rownames(x)
N<-paste("Allocations for ",nam[y])
	barplot(x[y,],
	col=c(
		"#FFFDED",
		"#63A5DB",
		"#005B9A",
		"#734A75",
	   "#B80606",
	   "#E38030"),
	family="Times",
	main=N)
}

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.