Learn R Programming

finnsurveytext (version 2.1.1)

fst_length_summary: Make Length Summary Table

Description

Creates a table summarising distribution of the length of responses.

Usage

fst_length_summary(data, desc = "All responses", incl_sentences = TRUE)

Value

Table summarising distribution of lengths of responses.

Arguments

data

dataframe of text in CoNLL-U format, with optional additional columns.

desc

An optional string describing responses in table, default is `"All responses"`.

incl_sentences

Whether to include sentence data in table, default is `TRUE`.

Examples

Run this code
fst_length_summary(fst_child, incl_sentences = FALSE)
fst_length_summary(fst_dev_coop, desc = "Q11_3")

Run the code above in your browser using DataLab