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")

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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With