Learn R Programming

multicastR (version 1.2.0)

mc_count_clauses: Count clause units in a multicastR table (WIP)

Description

Deprecated with multicastR 1.2.0. Use mc_clauses instead.

Usage

mc_count_clauses(mcdata, bytext = FALSE)

Arguments

mcdata

A data.table in multicastR format, containing minimally a corpus column with the names of the corpora and a graid column with GRAID annotation values.

bytext

Logical. If FALSE, calculate the number of clause units for each corpus. If TRUE, count for each text separately.

Value

A data.table with the number of valid clause units in each corpus, the total number of clause units, the number of non-analyzed clause units ("NC"), and the percentage the later make up of the total.