View source: R/check_character.R
check_character | R Documentation |
Factors are converted to character.
check_character(x, name = "x", na_action = na.fail)
x |
the object to check |
name |
the name of the object to use in the error message |
na_action |
|
The function gives the character back. It throws an error when the input is not a character.
check_character(c("20", "b"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.