quanteda (version 2.1.2)

make_meta: Internal functions to create a list for the meta attribute

Description

Internal functions to create a list for the meta attribute

Usage

make_meta(class, inherit = NULL, ...)

make_meta_corpus(inherit = NULL, ...)

make_meta_tokens(inherit = NULL, ...)

make_meta_dfm(inherit = NULL, ...)

make_meta_dictionary2(inherit = NULL, ...)

update_meta(default, inherit, ...)

Arguments

class

object class either dfm, tokens or corpus

inherit

list from the meta attribute

...

values assigned to the object meta fields

default

default values for the meta attribute