Learn R Programming

quanteda (version 1.5.2)

set_dfm_slots: Set values to a dfm's S4 slots

Description

Set values to a dfm's S4 slots

Usage

set_dfm_slots(x, slots = NULL, exceptions = NULL)

Arguments

x

a dfm

slots

a list of values extracted using attributes and to be assigned to slots

exceptions

names of slots to be ignored