ExtractExtract.GlobalOptionsFun: Get option value by subset operator

Description Usage Arguments Details Author(s) Examples

Description

Get option value by subset operator

Usage

1
2
## S3 method for class 'GlobalOptionsFun'
x[[nm]]

Arguments

x

the option object returned by set_opt or setGlobalOptions.

nm

a single option name.

Details

opt[["a"]] is same as opt("a") or opt$a.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
opt = set_opt(a = 1)
opt[["a"]]

GlobalOptions documentation built on July 2, 2020, 2:35 a.m.