View source: R/relabel_y_axis.R
relabel_y_axis | R Documentation |
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.
relabel_y_axis(x)
x |
A vector of labels for predictors, listed from top to bottom |
The function returns an object of the same type as it is passed: a plot generated by dwplot
.
relabel_predictors
to relabel predictors on the y-axis of a dot-whisker plot or in a tidy data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.