as.matrix.dfm {quanteda} | R Documentation |
Methods for coercing a dfm object to a matrix or data.frame object.
## S3 method for class 'dfm'
as.matrix(x, ...)
x |
dfm to be coerced |
... |
unused |
# coercion to matrix
as.matrix(data_dfm_lbgexample[, 1:10])