<div dir="ltr"><div class="gmail_quote"><br><br><div dir="ltr">Hello all!<div><br></div><div>I am trying to analyze a dataset using the GEE. </div><div><br></div><div>This is what I have so far</div><div><br></div><div><div>C=read.table("Cnarinofinal4.txt",header=T)<br></div><div>attach(C)</div><div>names(C)</div><div>library(geepack)</div><div><div>Form <- formula(Conteo~Grupo+Tiempo+Comportamiento+Comportamiento*Grupo+Comportamiento*Hora)</div><div>M4 <- geeglm(Form,family = poisson, id =Individuo, corstr = "exchangeable")</div></div></div><div>anova(M4)</div><div><br></div><div>1) I want to know if someboy knows how to perform post hoc comparisons for significant terms, in this case I have a significance result for the interaction Comportamiento*Hora and the factor Comportamiento. </div><div><br></div><div>2) I want to perform and interaction plot, I tried with the following code:</div><div> interaction.plot(C$Comportamiento,C$Tiempo,C$Conteo)<br></div><div><br></div><div>Nevertheless, I would like to plot the graph in a decreasing order by the mean and also add the error bars. For the first approach I do not have available info, and for the second one I found that data must be sorted before using the function summarySE from the ggplot2 library, nevertheless it does not seem to work anymore. </div><div><br></div><div>Any help you can provide will be welcome!</div></div>
</div><br></div>