| options | R Documentation |
Function for getting and setting options for the sets package.
sets_options(option, value)
option |
character string indicating the option to get or set (see details). If missing, all options are returned as a list. |
value |
Value to be set. If omitted, the current value is returned. |
Currently, the following options are available:
"quote":logical specifying whether labels for
character elements are quoted or not (default: TRUE).
"hash":logical specifying whether set elements
are hashed or not (default: TRUE).
"matchfun":the default matching function for
cset (default: NULL).
"orderfun":the default ordering function for
cset (default: NULL).
"universe":the default universe for
generalized sets (default: NULL).
cset
sets_options()
sets_options("quote", TRUE)
print(set("a"))
sets_options("quote", FALSE)
print(set("a"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.