Hi,

I have a barchart very similar to the example on the function documetation,
however, I want to sort the bars according one group in one panel.

Reminding:
library(lattice)
barchart(yield ~ variety | site, data = barley,
         groups = year, layout = c(1,6),
         ylab = "Barley Yield (bushels/acre)", auto.key=list(),
         scales = list(x = list(abbreviate = TRUE,
                       minlength = 5))) 

I want to sort the yield value, in "waseca" site (e.g.), according the group
of 1931. How can I do this???

Thanks
-- 
View this message in context: 
http://r.789695.n4.nabble.com/How-to-sort-a-grouped-barchart-tp2133579p2133579.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to