Description Usage Arguments Value Note Examples
An alternative to sQuote, ideally for passing quoted values to another R function. When you want fancy quotes (for visual appeal), use sQuote.
1 | add_quote(x, qmark = "'")
|
x |
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. |
qmark |
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))
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.