Skip to content
Back to formatted view

Raw Message

Message-ID: <CANxP2S4a3-Yw4cR3i+B82kqnuAyFRt0+wWiMATuz_rYvPehMNQ@mail.gmail.com>
Date: 2021-05-29T08:08:35Z
From: Luis Fernando GarcĂ­a
Subject: plot confidence interval binomial glm

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]]