Re: [R] multiple-line plot

2016-07-20 Thread Adams, Jean
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

Re: [R] multiple-line plot

2016-07-19 Thread Greg Snow
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 wrote: > Dear all, > > This is to kindly request for your help. I would like to plot my data. >

[R] multiple-line plot

2016-07-19 Thread John Wasige
​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=";")

[R] Multiple line-plot

2012-02-16 Thread David Studer
Hello everybody! I have again another newbie-question. I was trying to plot three curves within one single plot: Crime development (relative frequencies) according to the hours of tv consume per week (high/low/all together). Here are the data: par(mfrow=c(1,1)) # Data input

Re: [R] Multiple line-plot

2012-02-16 Thread Dallas
I think this is what you are getting at. Hope this helps. #index data to determine what low and high levels of tvHrs are (I said anything over 15 hours is considered 'high') index=which(tvHrs 15) #Plot the first plot, which is the 'high', only using values from crimeDvp that are in 'index'

Re: [R] Multiple line-plot

2012-02-16 Thread John Kane
...@gmail.com Sent: Thu, 16 Feb 2012 17:18:32 +0100 To: r-help@r-project.org Subject: [R] Multiple line-plot Hello everybody! I have again another newbie-question. I was trying to plot three curves within one single plot: Crime development (relative frequencies) according to the hours