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)

koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.