[R-sig-eco] R-sig-ecology (72-19): Plot question

Michał Bogdziewicz michalbogdziewicz at gmail.com
Mon Mar 24 21:20:33 CET 2014


Hi,

whether this is good or not good way to show ecological data I believe
you can create a plot like that using ggplot2 package. Here is the
link to some nice description with examples. Hope that will help:)

cheers,

2014-03-24 19:49 GMT+01:00 Martin Weiser <weiser2 at natur.cuni.cz>:
> Hi Claas,
>
> while this may be not the best plot one can imagine, I think it shows
> well behaviour of individual spider (results are grouped by spider
> identity, I guess). So yes, one could use specific symbol per spider,
> but this seems like a usable way how to to cope with the "per-spider"
> grouping, isn't it?
>
> Best,
> Martin
>
>  Claas Damken píše v Po 24. 03. 2014 v 15:16 +0000:
>> Hi Luis,
>> whatever R code you will end up using, the example image you attached is a good example of how NOT to display ecological data. There is no ecological meaning for the lines connecting the dots (i.e, there is nothing halfway between an ant and a termite), as the x axis shows categorial classes and not a continous parameter such as time to consume prey or prey size etc...
>>
>> Cheers,
>>
>> Claas
>>
>>
>> Claas Damken
>> Postdoctoral Fellow
>> Institute for Biodiversity and Environmental Research
>> Jalan Tungku Link, Gadong BE1410
>> Universiti Brunei Darussalam
>> Brunei Darussalam
>>
>>
>>
>> ________________________________________
>> Message: 2
>> Date: Sun, 23 Mar 2014 21:32:19 -0300
>> From: Luis Fernando Garc?a <luysgarcia at gmail.com>
>> To: "r-sig-ecology at r-project.org" <r-sig-ecology at r-project.org>
>> Subject: [R-sig-eco] Plot question
>> Message-ID:
>>         <CANxP2S4TTe3MB-nSziV5m7C0TUzBu7UhBy8HJ8CE9zUoyiHi9g at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Dear R friends,
>>
>> I have to produce a plot like the one attached on the file. The idea is to
>> plot the time spent for a spider over several different prey, the spiders
>> were repreated in the different trials. If any of you knows how to perform
>> this plot or have any source which explains how to do it, I would really
>> appreciate it.
>>
>> Thanks in advance.
>>
>>
>> Plot : http://imgur.com/u1FNmwn
>> -------------- next part --------------
>> spider  prey    time
>> 1       cockroach       136
>> 1       ant     128
>> 1       termite 115
>> 1       fly     145
>> 1       isopod  115
>> 2       cockroach       187
>> 2       ant     142
>> 2       termite 114
>> 2       fly     115
>> 2       isopod  123
>> 3       cockroach       111
>> 3       ant     121
>> 3       termite 113
>> 3       fly     115
>> 3       isopod  117
>> 4       cockroach       142
>> 4       ant     132
>> 4       termite 156
>> 4       fly     142
>> 4       isopod  113
>> 5       cockroach       115
>> 5       ant     121
>> 5       termite 217
>> 5       fly     213
>> 5       isopod  112
>>
>> -----------------------------
>>
>> [...]
>> End of R-sig-ecology Digest, Vol 72, Issue 19
>> *********************************************
>>
>> _______________________________________________
>> R-sig-ecology mailing list
>> R-sig-ecology at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>
>
>
>
> --
>
> ------------------------------
> Pokud je tento e-mail součástí obchodního jednání, Přírodovědecká fakulta
> Univerzity Karlovy v Praze:
> a) si vyhrazuje právo jednání kdykoliv ukončit a to i bez uvedení důvodu,
> b) stanovuje, že smlouva musí mít písemnou formu,
> c) vylučuje přijetí nabídky s dodatkem či odchylkou,
> d) stanovuje, že smlouva je uzavřena teprve výslovným dosažením shody na
> všech náležitostech smlouvy.
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology



-- 
Michał Bogdziewicz
Department of Systematic Zoology
Institute of Environmental Biology
Faculty of Biology
Adam Mickiewicz University
Umultowska 89, 61-614 Poznan
POLAND

Google Scholar Profile:
http://scholar.google.pl/citations?user=ljM32CsAAAAJ&hl=pl&oi=ao
Research Gate Profile:
https://www.researchgate.net/profile/Michat_Bogdziewicz/?ev=hdr_xprf



More information about the R-sig-ecology mailing list