View source: R/convertSNtoLogical.R
convertSNtoLogical | R Documentation |
Convert logical varible in spanish (S/N) to logical TRUE/FALSE.
convertSNtoLogical(x)
x |
vector to convert. Only admit "S", "N" or empty values. Empty values are assumed as FALSE. |
vector var converted as logical. In case a value is distinct of "S", "N" or empty value, an error is thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.