relabel_y_axis: Relabel the Y-Axis of a Dot-Whisker Plot

Description Usage Arguments See Also Examples

View source: R/relabel_y_axis.R

Description

relabel_y_axis DEPRECATED. A convenience function for relabeling the predictors on the y-axis of a dot-whisker plot created by dwplot. It is deprecated; use relabel_predictors instead.

Usage

1

Arguments

x

A vector of labels for predictors, listed from top to bottom

See Also

relabel_predictors to relabel predictors on the y-axis of a dot-whisker plot or in a tidy data.frame

Examples

1
2
3
data(mtcars)
m1 <- lm(mpg ~ wt + cyl + disp, data = mtcars)
dwplot(m1) + relabel_y_axis(c("Weight", "Cylinders", "Displacement"))

dotwhisker documentation built on May 29, 2017, 3:19 p.m.

Search within the dotwhisker package
Search all R packages, documentation and source code