Description Usage Arguments Value Examples
Convert string to logical or numeric.
1 | str2LogicalOrNumeric(string)
|
string |
(character) a string |
a logical or numeric value
1 2 3 4 5 6 | ## Not run:
str2LogicalOrNumeric("TRUE") # -> TRUE
str2LogicalOrNumeric("5") # -> 5
str2LogicalOrNumeric("NaN") # -> "NaN"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.