S.ld: Lexical diversity: Summer's S

Description Usage Arguments Details Value See Also Examples

View source: R/wrapper_functions_lex.div.R

Description

This is just a convenient wrapper function for lex.div.

Usage

1
S.ld(txt, char = FALSE, ...)

Arguments

txt

An object of class kRp.text containing the tagged text to be analyzed.

char

Logical, defining whether data for plotting characteristic curves should be calculated.

...

Further valid options for the main function, see lex.div for details.

Details

This function calculates Summer's S. In contrast to lex.div, which by default calculates all possible measures and their progressing characteristics, this function will only calculate the S value, and characteristics are off by default.

Value

An object of class kRp.TTR.

See Also

kRp.POS.tags, kRp.text, kRp.TTR

Examples

1
2
3
4
## Not run: 
S.ld(tagged.text)

## End(Not run)

koRpus documentation built on May 18, 2021, 1:13 a.m.