Produces a barplot where each piece of the barplot is filled with the number of symbols equal to the size of the bar
symbolbarplot(height,width=1,space=NULL,names.arg=NULL, legend.text=NULL,beside=FALSE,horiz=FALSE,col=heat.colors(NR), border=par("fg"),main=NULL,sub=NULL,xlab=NULL,ylab=NULL,xlim=NULL, ylim=NULL,axes=TRUE,axisnames=TRUE,inside=TRUE,plot=TRUE,rel.width=0.8, symbol="circles",symbbox=TRUE,debug=FALSE,...)
numeric vector or matrix of barplot heights
width of bars
space between bars
vector of names
vector of legend text
(logical) plot bars beside each other?
(logical) horizontal barplot?
vector of colors
plot border?
main title
subtitle
x axis label
y axis label
x limits
y limits
draw axes?
label horizontal axis?
draw lines dividing adjacent bars?
produce plot?
relative width of symbols
which symbol to use
draw boxes for symbol boxes?
debug output?
further arguments to multsymbolbox
Nil
# NOT RUN { set.seed(1001) bvals <- matrix(rpois(12,20),nrow=3) b <- symbolbarplot(bvals) # }
Run the code above in your browser using DataCamp Workspace