merge_conc {mclm}R Documentation

Merge concordances

Description

This function merges multiple objects of class conc into one conc object.

Usage

merge_conc(..., show_warnings = TRUE)

Arguments

...

Two or more objects of class conc.

show_warnings

Logical. If FALSE, warnings are suppressed.

Value

An object of class conc.

Examples

(cd_1 <- conc('A first very small corpus.', '\\w+', as_text = TRUE))
as.data.frame(cd_1)

(cd_2 <- conc('A second very small corpus.', '\\w+', as_text = TRUE))
(cd_3 <- conc('A third very small corpus.', '\\w+', as_text = TRUE))
(cd <- merge_conc(cd_1, cd_2, cd_3))
as.data.frame(cd)

[Package mclm version 0.2.7 Index]