Description Usage Arguments Value Author(s) References See Also Examples
This function calculates Zipf's rank-frequency distribution for a text vector, and optionally produces the rank-frequency plot.
1 |
text |
A character vector containing a text. |
plot |
Logical, if TRUE, a rank-frequency plot is shown on the graphics device. |
A data frame with variables
frequency |
Word Frequencies, ordered from large to small. |
freqOfFreq |
Frequencies of word frequencies. |
rank |
Zipf rank. |
R. H. Baayen
Zipf, G. K. (1935) The Psycho-Biology of Language, Boston: Houghton Mifflin.
Zipf, G. K. (1949) Human Behavior and the Principle of the Least Effort. An Introduction to Human Ecology, New York: Hafner.
Baayen, R. H. (2001) Word Frequency Distributions, Dordrecht: Kluwer.
See also growth.fnc
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.