namesToString | R Documentation |
Pastes the names of a object into a string, optionally quoting the names.
namesToString(x, collapse = ",", quote = FALSE)
x |
A named object (vector, list, data.frame) |
collapse |
A string to separate the collapsed names. |
quote |
TRUE/FALSE, if TRUE, adds quotes to the names. |
A string.
namesToString(c("test" = 1, "this" = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.