condense | R Documentation |
Condense dataframe columns that are a list of vectors to a single vector of strings.
condense(dataframe, sep = ", ")
dataframe |
A dataframe with a column(s) that are a list of vectors. |
sep |
A character string to separate the terms. |
Returns a dataframe with condensed columns that can be wrote to csv/xlsx.
mcsv_w
## Not run:
library(qdap)
poldat <- with(DATA.SPLIT, polarity(state, person))
write.csv(x = condense(counts(poldat)), file = "foo.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.