Re: [R] R not ploting lines in the correct order

2013-09-27 Thread arun
0:06 AM Subject: Re: [R] R not ploting lines in the correct order Ah ok, Here we go: structure(list(DATE = structure(c(1348477980, 1350386220, 1351114980, 1347388440, 1345650300, 1344558600, 1344955920, 1348489140, 1351169100, 1352297220, 1350471060, 1352303640, 1351797660, 1351772580, 13492131

Re: [R] R not ploting lines in the correct order

2013-09-27 Thread Shane Carey
nt: Friday, September 27, 2013 4:06 PM > > To: Sarah Goslee > > Cc: r-help@r-project.org > > Subject: Re: [R] R not ploting lines in the correct order > > > > Ah ok, Here we go: > > > > structure(list(DATE = structure(c(1348477980, 1350386220, 1351114980, &g

Re: [R] R not ploting lines in the correct order

2013-09-27 Thread PIKAL Petr
OK > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Shane Carey > Sent: Friday, September 27, 2013 4:06 PM > To: Sarah Goslee > Cc: r-help@r-project.org > Subject: Re: [R] R not ploting lines in the cor

Re: [R] R not ploting lines in the correct order

2013-09-27 Thread Shane Carey
Ah ok, Here we go: structure(list(DATE = structure(c(1348477980, 1350386220, 1351114980, 1347388440, 1345650300, 1344558600, 1344955920, 1348489140, 1351169100, 1352297220, 1350471060, 1352303640, 1351797660, 1351772580, 1349213100, 1354275600, 1351257660, 1345728480, 1355914440, 1344552300, 13474

Re: [R] R not ploting lines in the correct order

2013-09-27 Thread Sarah Goslee
If you use dput() correctly, those of us following along via email can create an exact duplicate of your R object. All you need to do is: dput(X) and paste the resulting output into email. You see, if I look at your object as you pasted it in, I can't tell if your Date column is a date format, or

Re: [R] R not ploting lines in the correct order

2013-09-27 Thread PIKAL Petr
> Cc: r-help@r-project.org > Subject: Re: [R] R not ploting lines in the correct order > > Hi Sarah, > > thanks for your reply. Im not sure how to use dput? If I create an > object > of my data, does that mean you can read it in from your side or > something? > > He

Re: [R] R not ploting lines in the correct order

2013-09-27 Thread Shane Carey
Hi Sarah, thanks for your reply. Im not sure how to use dput? If I create an object of my data, does that mean you can read it in from your side or something? Here is my code: X Data Date 5.61 24/09/2012 09:13 5.80 16/10/2012 11:17 6.01 24/10/2012 21:43 5.65 11/09/2012 18:34 5.27 22/08/20

Re: [R] R not ploting lines in the correct order

2013-09-26 Thread Sarah Goslee
Hi Shane, Please use dput() to provide your data, rather than pasting it in so that we can work from the same R object you are. Please also provide the code you're using to make the graph. Sarah On Thu, Sep 26, 2013 at 1:56 PM, Shane Carey wrote: > Hi, > > I have a set of x, y points where x re

[R] R not ploting lines in the correct order

2013-09-26 Thread Shane Carey
Hi, I have a set of x, y points where x represents dates and y actual values. I am trying to plot a line graph of the data with points on top, but R is connecting the wrong points with lines. Does anyone know how I can rectify this. Please see sample below: x= 24/09/2009 09:13 16/10/2009 11:17