powered by
This function calculates Herdan's constant C.
C
herdan.fnc(text, chunks)
A vector of strings representing a text.
A vector of chunk sizes for which Herdan's C is required. Duplicate chunk sizes are not allowed, and the number of chunks should be at least 2.
A list with components
A data frame with token and type counts for the requested chunk sizes.
Herdan's C.
Herdan, G. (1960) Type-Token Mathematics, The Hague: Mouton.
Herdan, G. (1964) Quantitative Linguistics, London: Buttersworths.
See Also growth.fnc.
growth.fnc
# NOT RUN { data(alice) herdan.fnc(alice, cumsum(rep(floor(length(alice)/40), 40))) # }
Run the code above in your browser using DataLab