Ok my bad. Stripchart doenst plot bar...
Just like this
time=(c(rnorm(10,2),rnorm(10,3),rnorm(10,1.5),rnorm(10,.5),rnorm(10,1)))
prey=factor(c(rep(1,10),rep(2,10),rep(3,10),rep(4,10),rep(5,10)),labels=c("Ants","Cockroach","Fly","Isopod","Mite"))
stripchart(time~prey,vertical=T,pch=1,method="jitter
Bar plots are not necessety the best way to show data:
2014-03-24 21:34 GMT+01:00 Rodrigues :
> Dear Michal,
>
> In this case they have only two variables: (i) time spend in each prey and
> (ii) prey type. Would be better if he use bar graphs. So if are necessary
> show the time spend for each spi
Dear Michal,
In this case they have only two variables: (i) time spend in each prey and
(ii) prey type. Would be better if he use bar graphs. So if are necessary
show the time spend for each spider I suggest the follow commands:
spider2=as.factor(spider)
plot(time~prey)
library(gplots)
mt=tappl
I forgor to paste the link... sorry!
http://egret.psychol.cam.ac.uk/statistics/R/graphs2.html
2014-03-24 21:20 GMT+01:00 Michał Bogdziewicz :
> 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
> lin
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 :
> Hi Claas,
>
> while this may be no
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, i
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 cl