Zipf's law
A very short function that reproduces Zipf's law: a harmonic rank-probability distribution, formally
[REMOVE_ME]
A very short function that reproduces Zipf's law: a harmonic rank-probability distribution, formally
zipf(n)
n
: Integer; if a hyper2 object is supplied this is interpreted as size(n)
Returns a numeric vector summing to one
Robin K. S. Hankin
knownp.test
zipf(icons)