his
approach uses only basic R
graphics. I imagine that it could be extended/incorporated into lattice or
ggplot2 graphics.
Larry Gould
__
From: Gould, A. Lawrence
Sent: Tuesday, January 25, 2011 10:48 AM
To: 'r-help@r-project.org'
Subject
I would like to produce a bar plot with varying-width bars. Here is an example
to illustrate:
ww <- c(417,153,0.0216,0.0065,556,256,0.0162,0.0117,
+ 726,379,0.0358,0.0501,786,502,0.0496,0.0837,
+ 892,591,0.0785,0.0795)
yy<-t(t(array(ww,c(2,10
barplot(yy[,2*1:5],las=1,space=c(.1,.5),beside
2 matches
Mail list logo