Dear Sibylle!
Am 09.01.2018 um 10:24 schrieb Sibylle Stöckli:
Dear Gerrit
Thanks a lot. "rbind" seems to be the right function. Unfortunately
there is a shift in the x-axis (see pdf). There are 52 trapcatch values
each, m and w, but m$trapcatch and w$trapcatch are shifted up to x-value
60.
Dear Gerrit
Thanks a lot. "rbind" seems to be the right function. Unfortunately there is a
shift in the x-axis (see pdf). There are 52 trapcatch values each, m and w, but
m$trapcatch and w$trapcatch are shifted up to x-value 60.
The follow-up lines for temp and humidity are fine.
Thanks
Sibyl
Hi Sibylle,
I might have the wrong idea, but does this:
hecke<-matrix(sample(1:40,104,TRUE),nrow=2)
library(plotrix)
barp(hecke,col=c("lightblue","pink"))
legend(43,40,c("M","F"),fill=c("lightblue","pink"))
do what you want? It is also possible to display this as a nested bar
plot showing males a
Hi, Sibylle,
since you write '"mathematically" add', does
barplot(rbind(m$trapcatch, w$trapcatch))
do what you want (modulo layout details)?
Hth -- Gerrit
-
Dr. Gerrit Eichner Mathematical Institute, Room
Dear R users
aim
Barplot of insect trap catches (y variable trapcatch) at one specific station
(variable FiBL_Hecke) from week 1-52 ( x variable week).
It works well using the function tapply (sum trapcatch per week, males and
females not separated), however, I intend to separate the y variable
5 matches
Mail list logo