add_col_topic {miRetrieve} | R Documentation |
Add topic column to data frame
Description
Add topic column to a data frame.
Usage
add_col_topic(df, col.topic = "Topic", topic.name = "Topic1")
Arguments
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 |
Details
Add a topic column to a data frame. This topic column is named col.topic
and
contains the string topic.name
.
Value
Data frame with a topic column added.
See Also
[Package miRetrieve version 1.3.4 Index]