> mytxt <- "one one two one one two one"
> mydfm <- dfm(mytxt)
> textstat_lexdiv(mydfm)
$text1
[1] 0.2857143
$<NA>
[1] 0.3562072
$<NA>
[1] 0.7559289
$<NA>
[1] 0.5345225
$<NA>
[1] 1.312686
$<NA>
[1] 7.133254
$<NA>
[1] 0.8728096
$<NA>
[1] 0.3221615
$<NA>
[1] 0.7418044