SAVF_linear_score: Single Attribute Value Function (SAVF) Linear Score

Description Usage Arguments Value Examples

View source: R/SAVF_linear_score.R

Description

: Calculates the Single Attribute Value Function (SAVF) score for a linearly increasing or decreasing function. It calculates the score based on the midpoint value method.

Usage

1
SAVF_linear_score(x, x_low, x_mid, x_high, increasing = TRUE)

Arguments

x

Attribute raw value

x_low

Lowest value

x_mid

Midpoint value

x_high

Highest value

increasing

TRUE=increasing, FALSE=decreasing, Default: TRUE

Value

Linear SAVF Score

Examples

1
## Not run:  SAVF_linear_score(10, 0, 25, 100, FALSE)

AFIT-R/DecisionAnalysis documentation built on July 31, 2018, 12:10 a.m.