ensure_parens | R Documentation |
Opening and closing parens will be added if an opening paren is not the first non-whitespace character.
ensure_parens(x)
x |
a list or vector |
x
is returned, possibly modified with parens added.
ensure_parens(letters[1:4])
ensure_parens(as.list(letters[1:4]))
ensure_parens(c("(a)", "b", "(c)"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.