我使用sjPlot包和以下命令完成了这个绘图:
plot_model(fit, type = "pred", terms = c("degree_of_urbanization", "language"), dot.size = 2) + labs(y = "NEFI Overall Score", x = "Degree of urbanization", title = "Predicted values of NEFI Overall Score")我怎样才能改变这些线之间的距离。它们太接近了,我不想让我的情节变得更宽。

发布于 2019-01-27 23:17:02
使用类似于dodge = .5的东西。sjPlot只是为边际效果图包装了一些效果。来自plot_model()的一些参数被向下传递给ggeffects plot()方法。请参阅https://strengejacke.github.io/ggeffects/reference/plot.html
https://stackoverflow.com/questions/54388431
复制相似问题