Hi Fernando, You need to write:
plot_model(model2, type = "pred", terms = "Prey [all]"), show.data = TRUE) Other packages: visreg ggeffects Manuel El sáb, 29 may 2021 a las 2:09, Luis Fernando García (<luysgar...@gmail.com>) escribió: > 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]] > > _______________________________________________ > R-sig-ecology mailing list > R-sig-ecology@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.cr <mspin...@una.ac.cr> mspinol...@gmail.com Teléfono: (506) 8706 - 4662 Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]] _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology