Displaying 1 result from an estimated 1 matches for "n_o_w_mai".
2012 Nov 12
2
order in stacked barplot
Hello
i did a stacked barplot using ggplot and R arranged the bars of the items in
different orders. i don?t know why. but i want to have the same order in
every stacked bar.
I used the code
data1 <- read.table("N_O_W_MAI.txt", header=TRUE, dec = ",")
attach(data1)
Teich1<-factor(Teich,levels=c(5,7,9,11,"G") ,ordered=is.ordered(Teich))
Gruppe1<-factor(Gruppe,levels=c("Annelida","Cladocera","Copepoda",
"Diptera","Ephemeroptera","Ost...