Learn R Programming

quanteda (version 2.0.1)

matrix2dfm: Converts a Matrix to a dfm

Description

Converts a Matrix to a dfm

Usage

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

Arguments

x

a Matrix

meta

a list of values to be assigned to slots