Displaying 3 results from an estimated 3 matches for "fibl_hecke".
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 merge two bar pl...
2018 Jan 09
0
barplot_add=TRUE
...-99-32109 http://www.uni-giessen.de/eichner
---------------------------------------------------------------------
Am 09.01.2018 um 09:19 schrieb Sibylle St?ckli:
> 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"...
2018 Jan 09
1
barplot_add=TRUE
...op/DatenLogger2017") # am Mac sks
trap = read.delim("SWD_Trap_week-new.txt", na.strings="*", header=TRUE)
climate = read.delim("Agrometeo_week-2017.txt", na.strings="*", header=TRUE)
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="", xla...