Learn R Programming

quanteda (version 1.5.2)

matrix2dfm: Converts a Matrix to a dfm

Description

Converts a Matrix to a dfm

Usage

matrix2dfm(x, slots = NULL)

Arguments

x

a Matrix

slots

slots a list of values to be assigned to slots