dfm2lsa | R Documentation |
Converts a dfm to a textmatrix for use with the lsa package.
dfm2lsa(x)
x |
dfm to be converted |
## Not run:
(dfmat <- dfm(tokens(c(d1 = "this is a first matrix",
d2 = "this is second matrix as example"))))
lsa::lsa(convert(dfmat, to = "lsa"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.