[R] lattice, xyplot, lend=1, type="h"

Andy Bunn abunn at whrc.org
Fri Mar 31 17:30:13 CEST 2006


Is there is a way to make square bars in xyplot with type="h"?

dat <- data.frame(foo = rep(1:10,2), bar = rep(1:10,2))
xyplot(foo~bar, data = dat, type="h",lwd=20)

Thanks! Andy




More information about the R-help mailing list