View source: R/logical_to_character.R
| logical_to_character | R Documentation |
This function converts a logical vector to a character vector allowing to control the case and even to convert to integer 0 or 1 if desired.
logical_to_character(
x,
format = c("lowercase", "uppercase", "titlecase", "integer")
)
x |
A logical vector. |
format |
Controls how the text is generated. |
A character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.