vector2df | R Documentation |
Convert a vector into a 1-raw data frame using the names of the vector as column names for the data frame
vector2df(x, nice_names = FALSE)
x |
a vector |
nice_names |
a logical indicating whether names should be nicified |
a data frame
vector2df(c(1, b = 2, `(Intercept)` = 3))
vector2df(c(1, b = 2, `(Intercept)` = 3), nice_names = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.