[R] Biplot connecting consecutive dates (ggplot?)

stephen sefick ssefick at gmail.com
Fri Oct 10 01:37:54 CEST 2008


qplot(V1, V2, data=f, colour=site) + geom_path()
works  thanks for the help

On Thu, Oct 9, 2008 at 6:48 PM, hadley wickham <h.wickham at gmail.com> wrote:
> On Thu, Oct 9, 2008 at 5:04 PM, stephen sefick <ssefick at gmail.com> wrote:
>> I would like to connect the dots based on when they occur in time.  Is
>> there an easy way to do this?
>
> How exactly do you want to connect them?  One approach is:
>
> qplot(V1, V2, data=f, colour=date) + geom_path()
> # or maybe
> qplot(V1, V2, data=f, group=date, colour=site) + geom_path(colour="grey50")
>
> Hadley
> --
> http://had.co.nz/
>



-- 
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis



More information about the R-help mailing list