I have conducted an LSD using agricolae the out put has letters assigned to groups that denote which groups are significantly different from one another. I would like to be able to generate a bar plot that shows the letters above each bar so it is easy to see what treatments are significantly different from one another.
I have tried using the "bar.group" function to generate a graph which works well, however as I have 13 seperate treatments the x-axis labels are overlapping.
I would either like to change the orientation of the x-axis labels to 90 degrees or if this is not possible find another way to plot a bar graph showing the significance as letters above each of the bars.
The current code I am using to generate a plot is
bar.group(breakdown.LSD$groups, ylim=c(0,100))
The following is a sample of the data that I am working with
structure(list(treatment = structure(c(1L, 1L, 1L, 1L), .Label = c("0.5 Fungaflor",
"0.5 Tecto", "0.5 Tecto Fungaflor", "1 Fungaflor", "1 Tecto",
"1 Tecto Fungaflor", "2 Fungaflor", "2 Tecto", "2 Tecto Fungaflor",
"4 Fungaflor", "4 Tecto", "4 Tecto Fungaflor", "Water"), class = "factor"),
breakdown = c(11.11111111, 16.66666667, 20, 16.66666667),
stems = c(2.888888889, 2.916666667, 3.2, 3.166666667), tubers = c(6.666666667,
9.166666667, 8.466666667, 9.5), stemtubers = c(2.307692308,
3.142857143, 2.645833333, 3)), .Names = c("treatment", "breakdown",
"stems", "tubers", "stemtubers"), row.names = c(NA, 4L), class = "data.frame")