Re: [R] Bar chart in ascending order for each level of X

2011-07-16 Thread Robert Baer
The question is how to plot a bar chart in which bars are sorted in ascending order for each level of X. I would appreciate receiving your advice and help. This toy example might help: barlab - sample(LETTERS,10) values - sample(1:100, 10) op - par(mfrow= c(4,1)) barplot(values, names.arg =

[R] Bar chart in ascending order for each level of X

2011-07-14 Thread Muhuri, Pradip (SAMHSA/CBHSQ)
Hello List, The question is how to plot a bar chart in which bars are sorted in ascending order for each level of X. I would appreciate receiving your advice and help. Thanks, Pradip Muhuri ** The following codes work when producing the chart in which bars are NOT sorted. Please