-1

How do you change the y-axis label using sjp.int? I see axis.title for changing the x-axis but nothing for changing the y-axis.

Sarah J.
  • 1
  • 1
  • 2

1 Answers1

0

You can use plot_model(), which returns a ggplot-object, and then modify the axis labels.

library(ggplot2)
p <- plot_model(model, type = "int")
p + labs(y = "my title")
Daniel
  • 7,252
  • 6
  • 26
  • 38