field_system: Shortcut functions to access or assign metadata

Description Usage Arguments

View source: R/meta.R

Description

Internal functions to access or replace an object metadata field without going through attribute trees. field_system(), field_object() and field_user() correspond to the system, object and user meta fields, respectively.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
field_system(x, field = NULL)

field_system(x, field = NULL) <- value

field_object(x, field = NULL)

field_object(x, field = NULL) <- value

field_user(x, field = NULL)

field_user(x, field = NULL) <- value

Arguments

x

a list of attributes extracted from a dfm, tokens, or corpus object by attributes(x)

field

name of the sub-field to access or assign values


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.