View source: R/sanitize_for_DiagrammeR.R
sanitize_for_DiagrammeR | R Documentation |
Basically a wrapper for gsub()
to sanitize a string for
DiagrammeR
sanitize_for_DiagrammeR( x, regExReplacements = justifier::opts$get("regExReplacements") )
x |
The string or vector |
regExReplacements |
A list of two-element character vectors; first element should be the element to search, and the second element, the replacement. |
The sanitized character vector
justifier::sanitize_for_DiagrammeR("This is or isn't problematic");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.