Learn R Programming

quanteda (version 1.5.1)

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