[R] Plot duplicate csv columns

From: rmje <robinmjelle_at_gmail.com>
Date: Tue, 31 May 2011 03:10:49 -0700 (PDT)

I am using the following function to plot columns from a CSV-file:

plot_mi_time = function(mdata, miname) {

   mdata2 = mdata[row.names(mir_test) == miname, ] # print(mdata2)

   plot(c(1:3), mdata2, xaxt="n", ylab="Expression", xlab="Time(h)", , main=miname, pch=16)

   axis(1, at=c(1,2,3),labels=c("a","b","c")) }

No I have a CSV file with 2 replicate columns that belongs to the same column-name.
Any suggestions how I can edit that formula to plot 2 y-values for the same x-value?

View this message in context: http://r.789695.n4.nabble.com/Plot-duplicate-csv-columns-tp3562708p3562708.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 31 May 2011 - 13:51:26 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 31 May 2011 - 14:00:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive