dfm2lsa: Convert a dfm to an lsa "textmatrix"

Description Usage Arguments Examples

View source: R/convert.R

Description

Converts a dfm to a textmatrix for use with the lsa package.

Usage

1

Arguments

x

dfm to be converted

Examples

1
2
3
4
5
6
## Not run: 
(dfmat <- dfm(c(d1 = "this is a first matrix", 
                d2 = "this is second matrix as example")))
lsa::lsa(convert(dfmat, to = "lsa"))

## End(Not run)

quanteda/quanteda documentation built on Feb. 16, 2019, 5:45 a.m.