UpdateConfig: Modify a 'StimConfig' list

Description Usage Arguments Details Value

Description

Modify a StimConfig list

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
UpdateConfig(config, level, value)

AddStim(config, value)

AddNumerics(config, value)

AddConstants(config, value)

AddDerived(config, value)

AddNumericConstant(config, value)

Arguments

config

a StimConfig list

level

the part of the list to modify: Stim, Numerics, Constants, or Derived

value

the value(s) to append to the StimConfig at the given level.

Details

Shortcut functions are provided by AddStim, AddNumerics, AddConstants, AddNumericConstant, and AddDerived.

Named stimuli need to be wrapped inside of c(). For example, to add a Dialect constant of "SAE" to config, use AddConstant(config, c(Dialect = "SAE")). This prevents the function from interpreting "Dialect = dialect" as a function parameter.

Value

an updated copy of StimConfig


tjmahr/lookr documentation built on May 31, 2019, 3:41 p.m.