Converts a Matrix to a dfm

matrix2dfm(x, docvars = NULL, meta = NULL)

Arguments

x

a Matrix

meta

a list of values to be assigned to slots