column and line graphs in R
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example You really need to read the posting guide and supply some sample data at the very least. Here is about as simple minded a plot as R will do as an example however dat1 <- structure(list(abond = c(17L, 3L, 6L, 11L, 5L, 8L, 13L, 16L, 15L, 2L), freq = c(17L, 14L, 7L, 13L, 19L, 5L, 3L, 20L, 9L, 10L )), .Names = c("abond", "freq"), row.names = c(NA, -10L), class = "data.frame") plot(dat1$abond, col = "red") lines(dat1$freq, col= "blue") John Kane Kingston ON Canada
-----Original Message----- From: gian.benucci at gmail.com Sent: Thu, 14 Mar 2013 11:05:40 +0100 To: r-help at r-project.org Subject: [R] column and line graphs in R Hi all, I would love to plot my data with R. I have abundance and frequency of fungal taxonomic data that should be plotted in the same graph. In Microsoft Excel is that possible but the graphic result is, as always, very poor. Is there a function that may let me plot these data in R? I have a matrix made of two columns, on is the relative abundance and the other is the relative frequency for each of my sample. Thank you very much, -- Gian [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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.
____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!