plus_minus_setup {DEXiR}R Documentation

plus_minus_setup

Description

A helper function: Initializes a data frame for plus_minus().

Usage

plus_minus_setup(evaluated, attributes, minus, plus)

Arguments

evaluated

An evaluated alternative.

attributes

Vector of DexiAttribute objects involved in plus-minus analysis.

minus

A single integer: Maximum steps down.

plus

A single integer: Maximum steps up.

Value

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.

See Also

plus_minus()


[Package DEXiR version 1.0.2 Index]