add_col_topic.RdAdd topic column to a data frame.
add_col_topic(df, col.topic = "Topic", topic.name = "Topic1")
| df | Data frame which the topic column is added to. |
|---|---|
| col.topic | String. Name of the topic column to be created. |
| topic.name | String. Topic name to be contained in |
Data frame with a topic column added.
Add a topic column to a data frame. This topic column is named col.topic and
contains the string topic.name.