Learn R Programming

DecisionAnalysis (version 1.1.0)

SAVF_exp_plot: Single Attribute Value Function (SAVF) Exponential Plot

Description

: Plots an increasing or decreasing exponential Single Attribute Value Function (SAVF) curve. It calls the SAVF_calc_rho and SAVF_exp_score functions and plots your score on the curve with a blue dot.

Usage

SAVF_exp_plot(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 curve with attribute plotted

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_plot(90, 0, 120, 150)

# }

Run the code above in your browser using DataLab