Description Usage Arguments Value See Also Examples
lower_factors
acts on columns of a data frame and converts factor
labels to lower case (by default) or upper case (with case = "upper").
lower_factors
plays nice with %>%
from dplyr/magrittr.
1 | lower_factors(.data, ..., case = "lower")
|
.data |
A data frame. |
... |
Comma separated list of unquoted expressions. Defaults to all columns of class factor. |
case |
A character vector |
A data frame.
Other case functions: lower_factors_
;
lower_names_
; lower_names
1 2 3 4 5 6 7 | lower_factors(iris, Species, case = "upper")
# Lower case is default
lower_factors(iris)
# Standard Evaluation with lower_factors_
lower_factors_(iris, ~Species, case = "upper")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.