Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 sjp.int 更改 y 轴标签?我看到 axis.title 用于更改 x 轴,但没有看到用于更改 y 轴。
您可以使用plot_model(),它返回一个 ggplot 对象,然后修改轴标签。
plot_model()
library(ggplot2) p <- plot_model(model, type = "int") p + labs(y = "my title")