Converts a Matrix to a dfm

matrix2dfm(x, slots = NULL)

Arguments

x

a Matrix

slots

slots a list of values to be assigned to slots