add_col_topic: Add topic column to data frame

Description Usage Arguments Details Value See Also

View source: R/df_operations_combine_addtopic_subsetmir.R

Description

Add topic column to a data frame.

Usage

1
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 col.topic.

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

assign_topic()


JulFriedrich/miRetrieve documentation built on Sept. 20, 2021, 11:37 p.m.