Learn R Programming

quanteda (version 4.1.0)

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