Hi,
why doesn't this work properly when 'positions' is a vector of strings? All
the data sets get totally mixed...
positions <- rep ( c("1","2","3","4","5","6","9","10","11","12","13","14",
"error", "no trial"), 45 )
compound <- matrix( c(loc2, loc1, error, no_trial), nrow=4, byrow=FALSE)
barchart(compound ~ positions|gl (45,14, label=template ),
col=c("deepskyblue1", "deepskyblue4", "tomato", "brown"),
...
If I change the vector 'positions' to something like this:
positions <- rep ( c(1,2,3,4,5,6,9,10,11,12,13,14,16,17), 45 )
it works just fine...
I'm especially confused, since I remember using string vectors on a bwplot()
earlier without any mixups.
cheers
Vincent
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html