powered by
This functions takes a text in the form of a character vector as input, and outputs a frequency spectrum object as defined in the zipfR package.
zipfR
text2spc.fnc(text)
A text in the form of a character vector.
A spc spectrum object as defined in the zipfR package.
spc
See the documentation for zipfR for spc objects.
# NOT RUN { library(zipfR) data(alice) alice.spc = text2spc.fnc(alice) plot(alice.spc) # }
Run the code above in your browser using DataLab