View source: R/inline.data.frame.R
inline.data.frame | R Documentation |
inline.data.frame()
converts a vector of strings that contain
separated items into a data frame.
inline.data.frame(..., sep = ";", quote = "")
... |
string, or a vector of strings |
sep |
Item separator within strings, defaults to ";" |
quote |
Quote character for masking separators, empty by default |
a data frame
Michaja Pehl
inline.data.frame(
"letters; numbers",
"A; 1",
"B; 2",
NULL) # this last line allows for easy switching of line order
inline.data.frame(c("letters; numbers", "A; 1", "B; 2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.