lexdiv.RdInternal function used in textstat_lexdiv.
compute_lexdiv_stats(x, measure, log.base)
| x | a dfm object |
|---|---|
| measure | a list of lexical diversity measures. |
| log.base | a numeric value defining the base of the logarithm (for measures using logs) |
returns a data.frame of documents and their lexical diversity scores.