c2txt | R Documentation |
Convert vector as text
c2txt(vector, frame = "\"", separator = ", ")
vector |
Vector that should be represented as text. |
frame |
Character. Specify character that should be printed before and after each element of the vector. |
separator |
Character. Specify character that should be printed between each element of the vector. |
Text representation of the vector.
Frederik Sachser
c2txt(names(iris)); c2txt(paste0(letters, "='", 1:length(letters), "'"), separator = ",", frame = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.