Thank you very much for your help and time.
That works very nicelyThanks again!
- Original Message -
From: John Kane
To: David Lyon ; r-help
Cc:
Sent: Wednesday, May 15, 2013 9:36 AM
Subject: Re: [R] Help me please: gplot, facets_wrap and ordering of x axis
dates
My
elp@r-project.org
> Subject: [R] Help me please: gplot, facets_wrap and ordering of x axis
> dates
>
> I have a text file of data as below and doing a ggplot line plot of all
> the ids as separate mini line plots which works with the following code.
>
> Problem how do I order the d
t;, "4/10/13",
"4/22/13"), value = c(0.16, 0.16, 0.42, 0.81, 0.16, 2.93, 2.4,
1.36, 1.22, 0.77, 0.85, 1.22, 0.21, 1.81, 0.54, 1.33, 1.32, 2.5,
1.3, 1.1, 0.66, 0.84, 7.42, 1.21, 0.97, 2.25, 0.51, 0.53, 0.41,
3.14, 3.58, 2.41, 2.08, 3.2, 0.24, 0.34, 0.58, 0.54, 0.25, 0.39,
0.28, 0.19, 0.42, 0.39, 0.26, 0.16, 0.16, 0.16, 0.16, 1.
Your value column will be input as character because of the "<" signs and you
need to convert the dates in %m/%d/%y format to real R dates.
--
David
Sent from my iPhone
On May 14, 2013, at 3:59 PM, David Lyon wrote:
> I have a text file of data as below and doing a ggplot line plot of all the
elp me please: gplot, facets_wrap and ordering of x axis
> dates
>
> I have a text file of data as below and doing a ggplot line plot of all
> the ids as separate mini line plots which works with the following code.
>
> Problem how do I order the dates for each id plot on the x axis so tha
I have a text file of data as below and doing a ggplot line plot of all the ids
as separate mini line plots which works with the following code.
Problem how do I order the dates for each id plot on the x axis so that the
dates are going from oldest to most recent
Thanks in advance
Dave
6 matches
Mail list logo