powered by
Draw boxes on the current figure filled with symbols representing individual counts.
multsymbolbox(x1,y1,x2,y2,tot,relw=0.8,fg=par("fg"),bg=par("bg"), box=TRUE,debug=FALSE,...)
none
numeric vector: left sides of boxes
numeric vector: bottom sides of boxes
numeric vector: right sides of boxes
numeric vector: top sides of boxes
numeric vector: total numbers of symbols to put in each box
relative width (relative to height) of symbols
n
foreground color(s)
background color(s)
(logical) draw box borders?
debug output?
additional arguments to polygon() for drawing boxes
Ben Bolker
plot(1:10,1:10,type="n") multsymbolbox(c(2,4),5,c(4,5),8,tot=c(10,8))
Run the code above in your browser using DataLab