add_col_topic {miRetrieve} | R Documentation |
Add 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 |
Add a topic column to a data frame. This topic column is named col.topic
and
contains the string topic.name
.
Data frame with a topic column added.