logicalToYesNo | R Documentation |
Convert Vector of Logical to Vector of "Ja"/"Nein"
logicalToYesNo(x, yesno = c("Ja", "Nein"))
x |
vector of logical |
yesno |
vector of character of length two giving the strings to be used
for |
vector of character
logicalToYesNo(c(TRUE, FALSE, TRUE)) logicalToYesNo(c(TRUE, FALSE, TRUE), yesno = c("Yeah!", "Oh no!"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.