Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/CheckDecisions.r
Parses a data.frame
into odecision
s.
1 | DecisionTableParser(DTable, env = .GlobalEnv)
|
DTable |
|
env |
target |
Decisions consist of conditions and effects, target a certain variable and may have multiple options.
Input format is described on http://en.opasnet.org/w/Decision. Currently usable decision effects are Add, Multiply, Replace, Remove and Identity.
See also: http://en.opasnet.org/
No return value. Saves odecision
class objects into specified environment
.
T. Rintala teemu.rintala.a@gmail.com
1 2 3 4 5 | modeldecisions <- data.frame(Stakeholder = "Group A", Decision = "More wind power",
Option = "A few more turbines", Variable = "PowerGeneration", Cell = "Type:Wind",
Change = "Add", Result = "5")
DecisionTableParser(modeldecisions)
ls()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.