In the default Lattice barchart, categorical variable labels are placed on the left. I want to put them on the right as well. I can manipulate locations of numeric ticks and labels using scales, but have had no success in moving the categorical labels. Study of help(barchart) and Sarkar’s book has not led to the answer (which is not to say the answer isn’t there).
In the default Lattice barchart, categorical variable labels are placed on the left. I
Share
You were on the right track with the
scalesargument. Try addingalternating = 3to the list of y scale parameters.