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/MODA documentation built on May 28, 2019, 11:01 a.m.