add.option {varitas}R Documentation

add.option

Description

Add option to nested list of options. Applied recursively

Usage

add.option(name, value, old.options, nesting.character = "\\.")

Arguments

name

Option name. Nesting is indicated by character specified in nesting.character.

value

New value of option

old.options

Nested list the option should be added to

nesting.character

String giving Regex pattern of nesting indication string. Defaults to '\.'

Value

Nested list with updated options


[Package varitas version 0.0.2 Index]