An alternative to sQuote, ideally for passing quoted values to another R function. When you want fancy quotes (for visual appeal), use sQuote.
add_quote(x, qmark = "'")
any character object to be be surrounded with quotation marks. If x is not a character object and can be coerced to a character object, it will, but with a warning message.
Any character to 'surround' x. Defaults to single quotation marks (not fancy).
a character vector in single quotes (default behavior). Changing qmark will result in different character(s) surrouding 'x'.
sQuote is very similar but to get the same behavior options must be changed. (i.e. options(useFancyQuotes = FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.