paint_ifnull | R Documentation |
Paint if null
paint_ifnull(obj, true_paint = crayon::red, false_paint = crayon::blue)
obj |
text to be painted and printed |
true_paint |
crayon function to execute if is.null(obj) |
false_paint |
crayon function to execute if !is.null(ojb) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.