paint_ifna | R Documentation |
Paint if na
paint_ifna(txt, true_paint = crayon::yellow, false_paint = crayon::blue)
txt |
text to be painted and printed |
true_paint |
crayon function to execute if ~is.na(txt) |
false_patin |
crayon function to execute |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.