Learn R Programming

DEXiR (version 1.0.2)

plus_minus_setup: plus_minus_setup

Description

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

Usage

plus_minus_setup(evaluated, attributes, minus, plus)

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.

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.

See Also

plus_minus()