powered by
This function converts a growth object (as defined in the languageR package) to a vgc object (as defined in the zipfR package).
growth2vgc.fnc(growth)
A growth object obtained with growth.fnc().
A vcg object as defined in the zipfR library.
R. H. Baayen (2001) Word Frequency Distributions, Dordrecht: Kluwer Academic Publishers.
zipfR Website: <URL: http://purl.org/stefan.evert/zipfR/>
See also growth.fncand the zipfR package.
growth.fnc
# NOT RUN { library(zipfR) data(alice) alice.growth = growth.fnc(text = alice, size = 648, nchunks = 40) alice.vgc = growth2vgc.fnc(alice.growth) plot(alice.vgc) # }
Run the code above in your browser using DataLab