Learn R Programming

DecisionAnalysis (version 1.1.0)

SAVF_exp_score: Single Attribute Value Function (SAVF) Exponential Score

Description

: Calculates the Single Attribute Values Function (SAVF) score for an exponentially increasing or decreasing function. It calls the SAVF_calc_rho function, so knowing rho beforehand is not necessary.

Usage

SAVF_exp_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

Exponential SAVF Score

Details

For Z=((x_mid - x_low) / (x_high - x_low)), Z can not be in (0.51,0.49)

Examples

Run this code
# NOT RUN {
SAVF_exp_score(70, 0, 90, 150, FALSE)

# }

Run the code above in your browser using DataLab