Get or set global options affecting functions across quanteda.
options to be set, as key-value pair, same as
Currently available options are:
TRUE then use this as the default
for all functions with a
integer; specifies the number of threads to use in parallelized functions
integer; specifies the number of documents to display when using the defaults for printing a dfm
integer; specifies the number of features to display when using the defaults for printing a dfm
character; stem name for documents that are unnamed when a corpus, tokens, or dfm are created or when a dfm is converted from another object
character; stem name for features that are unnamed when they are added, for whatever reason, to a dfm through an operation that adds features
character; stem name for components that are created by matrix factorization
character; language option for char_wordstem, tokens_wordstem, and dfm_wordstem
When called using a
key = value pair (where
key can be
a label or quoted character name)), the option is set and
When called with no arguments, a named list of the package options is returned.
When called with
reset = TRUE as an argument, all arguments are
options are reset to their default values, and
TRUE is returned
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.