我想繪制 lme4::lmer 模型的固定效應的估計值。目前, sjPlot::plot_model 輸出包括兩個我不想要的附加圖:SD(觀察)和 SD(攔截)。如何洗掉這兩個附加圖?
library(lme4)
data(iris)
lmerMod <- lmer(Sepal.Length ~ Sepal.Width * Petal.Length (1|Species), data=iris)
library(sjPlot)
plot1 <- plot_model(lmerMod,
type = "est",
show.intercept = TRUE,
title = "Estimates of fixed effects")

然后我運行第二部分:
glmMod <- glm(Sepal.Length ~ Sepal.Width * Petal.Length, data=iris)
plot2 <- plot_model(glmMod,
type = "est",
show.intercept = TRUE,
title = "Estimates of fixed effects")
plot2

轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/364201.html
