?Dear all, This is to kindly request for your help. I would like to plot my data. The R script below gives some plot that is not clear. How can I get a clear multiple-line plot. The data is attached herewith. ##R Script for_jhon = read.csv("C:/LVM_share/for_ jhon.csv", header=TRUE, sep=";") matplot(for_jhon$ID, cbind(for_jhon[,2:73]))? Thanks for your help John
Most attachments get stripped off, so your data did not make it through. But try: matplot(for_jhon$ID, for_jhon[,2:73], type='l') On Tue, Jul 19, 2016 at 12:24 PM, John Wasige <johnwasige at gmail.com> wrote:> Dear all, > > This is to kindly request for your help. I would like to plot my data. > > The R script below gives some plot that is not clear. How can I get a clear > multiple-line plot. The data is attached herewith. > > ##R Script > for_jhon = read.csv("C:/LVM_share/for_ jhon.csv", header=TRUE, sep=";") > matplot(for_jhon$ID, cbind(for_jhon[,2:73])) > > Thanks for your help > > John > ______________________________________________ > R-help at 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.-- Gregory (Greg) L. Snow Ph.D. 538280 at gmail.com
Use the dput() function to share a subset of your data with the list (attachments are not supported). For example, submit this command dput(for_jhon[1:20, ]) and post the result to the list along with your question. Jean On Tue, Jul 19, 2016 at 1:24 PM, John Wasige <johnwasige at gmail.com> wrote:> ?Dear all, > > This is to kindly request for your help. I would like to plot my data. > > The R script below gives some plot that is not clear. How can I get a clear > multiple-line plot. The data is attached herewith. > > ##R Script > for_jhon = read.csv("C:/LVM_share/for_ jhon.csv", header=TRUE, sep=";") > matplot(for_jhon$ID, cbind(for_jhon[,2:73]))? > > Thanks for your help > > John > ______________________________________________ > R-help at 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.[[alternative HTML version deleted]]