Dot.v: Get value of other options

Description Usage Arguments Details Author(s) Examples

Description

Get value of other options

Usage

1
.v(opt_name, name_is_character = NA)

Arguments

opt_name

name of the option, can be quoted or not quoted.

name_is_character

whether opt_name is a character, only used internally.

Details

When setting one option, the value can be dependent on other option names. The current value of other option can be accessed by v(nm) or v$nm.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
3
opt = set_opt(a = 1, b = function() .v$a*2)
opt$b
opt(a = 2); opt$b

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