Description Usage Arguments See Also Examples
Print method for quanteda objects. In each max_n*
option, 0 shows none, and
-1 shows all.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | ## S3 method for class 'corpus'
print(
x,
max_ndoc = quanteda_options("print_corpus_max_ndoc"),
max_nchar = quanteda_options("print_corpus_max_nchar"),
show_summary = quanteda_options("print_corpus_summary"),
...
)
## S4 method for signature 'dfm'
print(
x,
max_ndoc = quanteda_options("print_dfm_max_ndoc"),
max_nfeat = quanteda_options("print_dfm_max_nfeat"),
show_summary = quanteda_options("print_dfm_summary"),
...
)
## S4 method for signature 'dfm'
show(object)
## S4 method for signature 'dictionary2'
print(
x,
max_nkey = quanteda_options("print_dictionary_max_nkey"),
max_nval = quanteda_options("print_dictionary_max_nval"),
show_summary = quanteda_options("print_dictionary_summary"),
...
)
## S4 method for signature 'dictionary2'
show(object)
## S4 method for signature 'fcm'
print(
x,
max_nfeat = quanteda_options("print_dfm_max_nfeat"),
show_summary = TRUE,
...
)
## S4 method for signature 'fcm'
show(object)
## S3 method for class 'tokens'
print(
x,
max_ndoc = quanteda_options("print_tokens_max_ndoc"),
max_ntoken = quanteda_options("print_tokens_max_ntoken"),
show_summary = quanteda_options("print_tokens_summary"),
...
)
|
x, object |
the object to be printed |
max_ndoc |
max number of documents to print; default is from the
|
max_nchar |
max number of tokens to print; default is from the
|
show_summary |
print a brief summary indicating the number of documents and other characteristics of the object, such as docvars or sparsity. |
... |
not used |
max_nfeat |
max number of features to print; default is from the
|
max_nkey |
max number of keys to print; default is from the
|
max_nval |
max number of values to print; default is from the
|
max_ntoken |
max number of tokens to print; default is from the
|
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.