Learn R Programming

DecisionAnalysis (version 1.1.0)

SAVF_linear_plot: Single Attribute Value Function (SAVF) Linear Plot

Description

: Plots the linear Single Attribute Value Function (SAVF) graph for an increasing or decreasing function. It calls the SAVF_linear_score function to calculate the score based on the midpoint value method and plots it with a blue dot.

Usage

SAVF_linear_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

Linear SAVF curve with attribute plotted

Examples

Run this code
# NOT RUN {
SAVF_linear_plot(10, 0, 25, 100, FALSE)

# }

Run the code above in your browser using DataLab