.v | R Documentation |
Get value of other options
.v(opt_name, name_is_character = NA)
opt_name |
name of the option, can be quoted or not quoted. |
name_is_character |
whether |
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
.
Zuguang Gu <z.gu@dkfz.de>
opt = set_opt(a = 1, b = function() .v$a*2)
opt$b
opt(a = 2); opt$b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.