I am trying to use the plot_model()
function (sjPlot
package) in R. However, it only allow me to use the minimum range of x-axis as -1 to 1. Since my estimates are very small, I would like to change the range to -0.2 to 0.2. I have tried this code:
sjPlot::plot_model(lm_PMd2,
axis.labels=c("TimeInterval",
"FactorAnalyses_diff"),
show.values=TRUE, show.p=TRUE,
colors = "#ec7014",
title="PMd", axis.lim = c(-0.2, 0.2)) +
theme_bw()+
theme(panel.grid.major = element_blank(), panel.grid.minor = element_blank(),
text = element_text(size = 12))
Any insight is helpful. Thanks!