Re: [R] order in stacked barplot

2012-11-13 Thread John Kane
Could be few things but we probably need some sample data to get a feeling for what you are doing. The easiest way to supply data is to use the dput() function. Example with your file named "testfile": dput(testfile) Then copy the output and paste into your email. For large data sets, you

Re: [R] order in stacked barplot

2012-11-12 Thread Jeff Newmiller
Posting guide warns you to provide a reproducible example, which would include enough data to test code. As a general point of information I can say that data ordering in R graphs is normally driven by the factor level ordering, and you usually have to specify that explicitly when you convert f