relabel_y_axis is a convenience function for relabeling the predictors on the y-axis of a dot-whisker plot created by dwplot
A vector of labels for predictors, listed from top to bottom
relabel_predictors to relabel the predictors in a tidy data.frame before using dwplot
m1 <- lm(mpg ~ wt + cyl + disp, data = mtcars)
dwplot(m1) + relabel_y_axis(c("Weight", "Cylinders", "Displacement"))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.