Hi, I hope the following works for you. The plot is: Rplot.png <http://r.789695.n4.nabble.com/file/n4702679/Rplot.png>
> data <- read.table("rHelp_20150202.txt",header=TRUE) > order.data <- order(data$counts,decreasing=TRUE) > order.data [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 > plot(data$counts ~ factor(data$role,levels=data$role[order.data])) -- View this message in context: http://r.789695.n4.nabble.com/help-plotting-my-data-tp4702583p4702679.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.