plus_minus_setup {DEXiR} | R Documentation |
A helper function: Initializes a data frame for plus_minus()
.
plus_minus_setup(evaluated, attributes, minus, plus)
evaluated |
An evaluated alternative. |
attributes |
Vector of DexiAttribute objects involved in |
minus |
A single integer: Maximum steps down. |
plus |
A single integer: Maximum steps up. |
A data frame consisting of columns:
"id"
Attribute IDs.
"structure"
Attribute $structure() + $name
.
counts
Attributes' scale sizes.
low_bounds
Low bounds of attributes' values.
high_bounds
High bounds of attributes' values.
low_diff
Maximum possible value decrease given low_bound
and attribute scale.
high_diff
Maximum possible value increase given high_bound
and attribute scale.
evals
Alternative evaluation for the corresponding attribute (from evaluated
).
sets
evals
represented as value sets.