text2spc.fnc {languageR} | R Documentation |
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.
text2spc.fnc(text)
text |
A text in the form of a character vector. |
A spc
spectrum object as defined in the zipfR
package.
R. H. Baayen
See the documentation for zipfR
for spc
objects.
## Not run: library(zipfR) data(alice) alice.spc = text2spc.fnc(alice) plot(alice.spc) ## End(Not run)