View source: R/convert_T_to_check.R
convert_T_to_check | R Documentation |
Takes logical T and F and returns ✓ and ✗, respectively. If not logical, returns NA
convert_T_to_check(x, no_match = NA)
x |
a logical value or vector of logical values |
no_match |
what to put if there's no match (e.g. non-logical argument)? default=NA |
It can handle existing ✓ and ✗, so you can run result through convert_T_to_check without problem
✓ if TRUE and ✗ if FALSE. If not logical, returns NA or another string supplied by no_match
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.