powered by
Pastes the names of a object into a string, optionally quoting the names.
namesToString(x, collapse = ",", quote = FALSE)
A string.
A named object (vector, list, data.frame)
A string to separate the collapsed names.
TRUE/FALSE, if TRUE, adds quotes to the names.
namesToString(c("test" = 1, "this" = 2))
Run the code above in your browser using DataLab