Displaying 3 results from an estimated 3 matches for "frick_temp".
2018 Jan 09
1
barplot_add=TRUE
...RUE)
names(trap)
names(climate)
Hecke<-trap[trap$station=="FiBL_Hecke",]
m<-Hecke[Hecke$m_w=="m",]
w<-Hecke[Hecke$m_w=="w",]
par(mar=c(5,4,4,10))
barplot(rbind(m$trapcatch, w$trapcatch), ylim=c(0,350))
axis(1, 1:52)
par(new=T)
plot(climate$Week,climate$Frick_Temp.mittel, type="n", axes=F, ylim=c(0,25), ylab="", xlab="", xaxt="n")
lines(climate$Week, climate$Frick_Temp.mittel, lty=2, lwd=2, col="blue")
axis(4,las=1, cex.axis=0.8, col="blue")
mtext(side=4, line=2.5, "Mittlere Temperatur (?C)&quo...
2018 Jan 09
0
barplot_add=TRUE
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 212
gerrit.eichner at math.uni-giessen.de Justus-Liebig-University Giessen
Tel:
2018 Jan 09
3
barplot_add=TRUE
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 trapcatch in males and females (variable m_w: m and w)
problem
I used the function "add" to