iQuote | R Documentation |
Quote strings representing variable identifiers with backticks for use in formulas.
iQuote(x, q = "`")
x |
An object coercible to a character vector. |
q |
The kind of quotes to be used. |
A character vector of the same length as x
.
Kylie A. Bemis
sQuote
,
dQuote
x1 <- "This is a non-syntactic variable name"
x2 <- "This is another variable name"
fm <- paste0(iQuote(x1), "~", iQuote(x2))
as.formula(fm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.