text2spc.fnc | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.