Description Usage Arguments Value Examples
Given a data frame with texts and groups, it concatenates texts by group
1 | concatenator(df, text_field = NULL, group_field = NULL)
|
df |
a dataframe with at least textual data and a grouping variable |
text_field |
name of the column (in quotation marks) containing the textual data |
group_field |
name of the column (in quotation marks) of the grouping variable |
a data frame with groups and the corresponding textual data
1 2 3 | ## Not run:
grouped_df <- concatenator(df, text_field = "texts", group_field = "groups")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.