as.TRUEorFALSE | R Documentation |
as.TRUEorFALSE(str)
str |
almost any value, but typically a character string of length 1 |
Resolve the given value to a logical, using common ideas of T/F, Y/N, 0/1, etc.
Allows automatic environment variable substituion, via env.sub
logical value of length 1
as.TRUEorFALSE( pi)
as.TRUEorFALSE( "$HOME")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.