collapse_tags: Collapse 'term_count' Tags

Description Usage Arguments Value

View source: R/collapse_tags.R

Description

Collapse (sum) tags/columns of a term_count object or remove columns without changing termco class.

Usage

1
collapse_tags(x, mapping, ...)

Arguments

x

A term_count object.

mapping

A list of named vectors where the vector names are the collapsed column names and the vectors are the names of the columns to collapse. Setting a column name to NULL deletes these columns from the output.

...

ignored.

Value

Returns a term_count object.


trinker/termcoLite documentation built on Oct. 23, 2021, 9:53 a.m.