更改线宽(厚度)sjPlot sjp.int R

更改线宽(厚度)sjPlot sjp.int R,r,ggplot2,linear-regression,sjplot,R,Ggplot2,Linear Regression,Sjplot,我想更改sjp.int绘图中线条(较粗线条)的宽度。我尝试了所有有帮助的论点,但不知何故找不到 示例代码: require(ggplot2) require(sjPlot) head(diamonds) test<-lm(price ~ carat*depth, data=diamonds) sjp.int(test, type = "eff") require(ggplot2) 需要(sjPlot) 头部(钻石) test当前无法更改sjp.int的行大小,因此必须修改返回值pl

我想更改sjp.int绘图中线条(较粗线条)的宽度。我尝试了所有有帮助的论点,但不知何故找不到

示例代码:

require(ggplot2) 
require(sjPlot) 
head(diamonds) 
test<-lm(price ~ carat*depth, data=diamonds)
sjp.int(test, type = "eff")
require(ggplot2)
需要(sjPlot)
头部(钻石)

test当前无法更改
sjp.int
的行大小,因此必须修改返回值
plot.list
中的返回绘图对象。然后您可以覆盖
geom\u line()

dummy概述了您可以更改的内容,但行大小似乎不在其中。
dummy <- sjp.int(test, type = "eff")
dummy$plot.list[[1]] + geom_line(size = 3)