Reputation: 115
I would like to change the width of the lines (thicker lines) in an sjp.int plot. I tried all help arguments, but somehow could not find it.
Example code:
require(ggplot2)
require(sjPlot)
head(diamonds)
test<-lm(price ~ carat*depth, data=diamonds)
sjp.int(test, type = "eff")
Upvotes: 3
Views: 1177
Reputation: 7832
You cannot change line size for sjp.int
currently, so you have to modify the returned plot object(s), which are in the return value plot.list
. Then you can overwrite geom_line()
.
dummy <- sjp.int(test, type = "eff")
dummy$plot.list[[1]] + geom_line(size = 3)
I've added a geom.size
argument to sjp.int
, see GitHub.
Upvotes: 2