MAVF_score: Multi-attribute value function

Description Usage Arguments Value See Also Examples

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

Description

MAVF_score computes the multi-attribute value score of x and y given their respective weights

Usage

1
MAVF_score(x, y, x_wt, y_wt)

Arguments

x

Numeric vector of values

y

Numeric vector of values with compatible dimensions to x

x_wt

Swing weight for x

y_wt

Swing weight for y

Value

A vector of the same length as x and y with the multi-attribute value scores

See Also

MAVF_sensitivity to perform sensitivity analysis with a range of x and y swing weights

SAVF_score for computing the exponential single attribute value score

Examples

1
2
3
4
5
6
7
8
# Given the following \code{x} and \code{y} attribute values with \code{x} and
# \code{y} swing weight values of 0.65 and 0.35 respectively, we can compute
# the multi-attribute utility score:

x_attribute <- c(0.92, 0.79, 1.00, 0.39, 0.68, 0.55, 0.73, 0.76, 1.00, 0.74)
y_attribute <- c(0.52, 0.19, 0.62, 1.00, 0.55, 0.52, 0.53, 0.46, 0.61, 0.84)

MAVF_score(x_attribute, y_attribute, x_wt = .65, y_wt = .35)

KraljicMatrix documentation built on May 2, 2019, 2:32 p.m.