Learn R Programming

koRpus (version 0.04-40)

dickes.steiwer: Readability: Dickes-Steiwer Handformel

Description

This is just a convenient wrapper function for readability.

Usage

dickes.steiwer(txt.file,
    parameters = c(const = 235.95993, awl = 73.021, asl = 12.56438, ttr = 50.03293),
    case.sens = FALSE, ...)

Arguments

txt.file
Either an object of class kRp.tagged-class, a character vector which must be be a valid path to a file containing the text to be analyzed, or a list of text features. If the latter, c
parameters
A numeric vector with named magic numbers, defining the relevant parameters for the index.
case.sens
Logical, whether types should be counted case sensitive.
...
Further valid options for the main function, see readability for details.

Value

Details

This function calculates the shortcut formula by Dickes-Steiwer. In contrast to readability, which by default calculates all possible indices, this function will only calculate the index value.

This formula doesn't need syllable count.

Examples

Run this code
dickes.steiwer(tagged.text)

Run the code above in your browser using DataLab