options {sets}R Documentation

Options for the ‘sets’ package

Description

Function for getting and setting options for the sets package.

Usage

set_options(option, value)

Arguments

option character string indicating the option to get or set (see details). If missing, all options are returned as a list.
value if missing, the specified value is returned, otherwise set.

Details

Currently, the following options are available:

"quote":
logical specifying whether labels for character elements are quoted or not (default: TRUE).
"matchfun":
the default matching function for cset (default: NULL).
"orderfun":
the default ordering function for cset (default: NULL).

See Also

cset

Examples

set_options()
set_options("quote", TRUE)
print(set("a"))
set_options("quote", FALSE)
print(set("a"))

[Package sets version 0.3-2 Index]