Description Usage Arguments Value Author(s) Examples
Convert a character string to logical.
1 | character_to_logical(x, ignore.case = TRUE)
|
x |
character |
ignore.case |
logical, whether case is ignored |
logical. TRUE for "y","yes","t","true" and "1"; FALSE for "n","no","f","false" and "0".
Xiaobei Zhao
1 2 | character_to_logical("yes")
try(character_to_logical("hi"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.