Dotwhisker package

Hi,

I wonder if anyone could give me advice on how to set limits of x-axis in dwplot() of dotwhisker package which is based on ggplot?

Many thanks,

Jakub

Using xlim like this?

# from https://cran.r-project.org/web/packages/dotwhisker/vignettes/dotwhisker-vignette.html
library(dotwhisker)
library(broom)
library(dplyr)

# run a regression compatible with tidy
m1 <- lm(mpg ~ wt + cyl + disp + gear, data = mtcars)

# draw a dot-and-whisker plot
dwplot(m1) +
  xlim(-20, 10) # set x limits.