fst_length_summary: Make Length Summary Table

View source: R/02_data_exploration.R

fst_length_summaryR Documentation

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)

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'.

Value

Table summarising distribution of lengths of responses.

Examples

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

finnsurveytext documentation built on April 4, 2025, 5:07 a.m.