zipf | R Documentation |
A very short function that reproduces Zipf's law: a harmonic rank-probability distribution, formally
\mjdeqnp(i)=\fraci^-1\sum_i=1^N i^-1,\qquad i=1,...,Nomitted
zipf(n)
n |
Integer; if a hyper2 object is supplied this is
interpreted as |
Returns a numeric vector summing to one
Robin K. S. Hankin
knownp.test
zipf(icons)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.