This is just a convenient wrapper function for readability
.
1 2 
txt.file 
Either an object of class 
hyphen 
An object of class kRp.hyphen. If 
parameters 
A numeric vector with named magic numbers, defining the relevant parameters for the index. 
... 
Further valid options for the main function,
see 
This function calculates the Simple Measure of Gobbledygook (SMOG). In contrast to readability
,
which by default calculates all possible indices,
this function will only calculate the index value.
By default calculates formula D by McLaughlin (1969).
If parameters
is set to SMOG="C"
, formula C will be calculated.
If parameters
is set to SMOG="simple"
, the simplified formula is used, and
if parameters="de"
, the formula adapted to German texts ("Qu", Bamberger & Vanecek,
1984, p. 78).
An object of class kRp.readabilityclass
.
Bamberger, R. & Vanecek, E. (1984). Lesen–Verstehen–Lernen–Schreiben. Wien: Jugend und Volk.
McLaughlin, G.H. (1969). SMOG grading – A new readability formula. Journal of Reading, 12(8), 639–646.
1 2 3 4  ## Not run:
SMOG(tagged.text)
## End(Not run)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.