dictionary-class: Coerce a dictionary object into a list

Description Usage Arguments Slots

Description

Print/show method for dictionary objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S4 method for signature 'dictionary2'
as.list(x, flatten = FALSE, levels = 1:100)

## S4 method for signature 'dictionary2'
show(object)

## S4 method for signature 'dictionary2,index,ANY,ANY'
x[i]

## S4 method for signature 'dictionary2,index'
x[[i]]

## S3 method for class 'dictionary2'
x$name

## S4 method for signature 'dictionary2'
c(x, ...)

Arguments

flatten

flatten the nested structure if TRUE

levels

integer vector indicating levels in the dictionary. Used only when flatten = TRUE.

object

the dictionary to be coerced

i

index for entries

name

the dictionary key

...

dictionary objects to be concatenated

object

the dictionary to be printed

object

the dictionary to be extracted

object

the dictionary to be extracted

i

index for entries

Slots

.Data

named list of mode character, where each element name is a dictionary "key" and each element is one or more dictionary entry "values" consisting of a pattern match

concatenator

character object specifying space between multi-word values


quanteda/quanteda documentation built on June 15, 2019, 8:36 a.m.