[R] shuffling of data

stephen sefick ssefick at gmail.com
Thu Sep 16 19:18:35 CEST 2010


Something like this?

library(ggplot2)
qplot(Year, Julian_day, data=a, colour=Species)


On Thu, Sep 16, 2010 at 12:14 PM, fugelpitch <jonas at runtimerecords.net> wrote:
>
> I have a file that reads like this:
>
> Species,Year,Julian_day
> Alnus_glutinosa, 1873, 123
> Sorbus_aucuparia, 1873, 122
> ....(more species...)
> Alnus_glutinosa, 1874, 134
> Sorbus_aucuparia, 1874, 143
> ....(more species and years)
>
> Is there a way to plot this as julian day over years so that each species
> get a different color?
> Also is it possible to convert this data into the format:
> Alnus_glutinosa, Sorbus_aucuparia,....(more species)
> 123                 122
> 134                 143
> ...(more years)
>
> Then I could attatch a time series to the data.
> --
> View this message in context: http://r.789695.n4.nabble.com/shuffling-of-data-tp2542615p2542615.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>



-- 
Stephen Sefick
____________________________________
| Auburn University                                   |
| Department of Biological Sciences           |
| 331 Funchess Hall                                  |
| Auburn, Alabama                                   |
| 36849                                                    |
|___________________________________|
| sas0025 at auburn.edu                             |
| http://www.auburn.edu/~sas0025             |
|___________________________________|

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

"A big computer, a complex algorithm and a long time does not equal science."

                              -Robert Gentleman



More information about the R-help mailing list