powered by
Sets the value for a named parameter (key) to given value in a list (settings)
key
value
settings
setMappingListValue(key, value, settings, forceCreate = FALSE)
a list defining the position of parameter in the settings object.
the value to set
The settings list used to generate a chart like eDISH()
eDISH()
Specifies whether the function should create a new list() when none exisits. This most commonly occurs when deeply nested objects.
the updated settings object
# NOT RUN { testSet<-list(a=list(b="myValue")) safetyGraphics:::setMappingListValue(key=list("a","b"), value="notMyValue", settings=testSet) #returns list(a=list(b="notMyValue"))) # }
Run the code above in your browser using DataLab