[R-sig-eco] plot confidence interval binomial glm

Luis Fernando García |uy@g@rc|@ @end|ng |rom gm@||@com
Sat May 29 10:08:35 CEST 2021


Dear all,

I am using the  sj Plot package, but I have had some issues when plotting.
The main question I have is that when plotting a binomial GLM, lines are
not smooth, but they look broken (see
https://docs.google.com/presentation/d/1Pqm6BcJXdSQ6U1zmv5FV7gBcn1afHHv7rlQHe6j59_c/edit?usp=sharing),
I wanted to know if there is anyway to increase resolution? In addition, is
it possible to add to this plot the individual observations (points)?

I am sorry if this question is too obvious but I am just trying this
package. In addition, do you know another package for plotting GLM
confidence intervals?

Best regards!

####CODE
library(sjPlot:)
library(ggplot2)
model2 = glm(y~log(dose)+Prey,quasibinomial(link=probit))
plot_model(model3, type = "pred", terms = c("ld","Prey"))

	[[alternative HTML version deleted]]



More information about the R-sig-ecology mailing list