Description Usage Arguments Details Value See Also Examples
View source: R/wrapper_functions_readability.R
This is just a convenient wrapper function for readability
.
1 2 3 4 5 6 |
txt.file |
Either an object of class |
hyphen |
An object of class kRp.hyphen. If |
parameters |
Either a numeric vector with named magic numbers,
defining the relevant parameters for the index, or
a valid character string naming a preset for implemented languages ( |
... |
Further valid options for the main function,
see |
Calculates the Flesch Readability Ease index. In contrast to
readability
,
which by default calculates all possible indices,
this function will only calculate the Flesch RE value.
Certain internationalisations of the parameters are also implemented. They can be used by setting
parameters
to "es"
(Fernandez-Huerta), "es-s"
(Szigriszt),
"nl"
(Douma),
"nl-b"
(Brouwer), "de"
(Amstad) or "fr"
(Kandel-Moles).
If parameters="PSK"
, the revised parameters by Powers-Sumner-Kearl (1958) are used
to calculate a grade level.
An object of class kRp.readability
.
flesch.kincaid
for grade levels,
farr.jenkins.paterson
for a simplified Flesch formula.
1 2 3 4 | ## Not run:
flesch(german.tagged.text, parameters="de")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.