Learn R Programming

quanteda (version 1.3.13)

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