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

Claas Damken c.damken at auckland.ac.nz
Mon Mar 24 16:16:28 CET 2014


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
*********************************************



More information about the R-sig-ecology mailing list