SAVF_plot_rho_error: Plot the rho squared error terms

Description Usage Arguments Value See Also Examples

View source: R/single-attribute-value-functions.R

Description

SAVF_plot_rho_error plots the squared error terms for the rho search space to illustrate the preferred rho that minimizes the squared error between subject matter desired values and exponentially fitted scores

Usage

1
2
SAVF_plot_rho_error(desired_x, desired_v, x_low, x_high, rho_low = 0,
  rho_high = 1)

Arguments

desired_x

Elicited input x value(s)

desired_v

Elicited value score related to elicited input value(s)

x_low

Lower bound anchor point (can be different than min(x))

x_high

Upper bound anchor point (can be different than max(x))

rho_low

Lower bound of the exponential constant search space for a best fit value function

rho_high

Upper bound of the exponential constant search space for a best fit value function

Value

A plot that visualizes the squared error terms for the rho search space

See Also

SAVF_preferred_rho for identifying the preferred rho value

SAVF_score for computing the exponential single attribute value score

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Given the single attribute x is bounded between 1 and 5 and the subject matter experts
# prefer x values of 3, 4, & 5 provide a utility score of .75, .90 & 1.0 respectively, we
# can visualize the error terms for rho values between 0-1:

SAVF_plot_rho_error(desired_x = c(3, 4, 5),
                    desired_v = c(.75, .9, 1),
                    x_low = 1,
                    x_high = 5,
                    rho_low = 0,
                    rho_high = 1)

koalaverse/KraljicMatrix documentation built on May 25, 2019, 9:30 p.m.