powered by
Hellwig's method.
hellwig(decision, weights, impacts)
A numeric matrix with m rows for m alternatives and n columns for n criterions.
A numeric vector with length equal to number of columns in decision matrix for weights of criterions.
A character vector of '+' and '-' signs for the way that each criterion influences on the alternatives.
A data frame including elements:
alt.row
Row number of alternatives in decision matrix.
score
Score of alternatives.
rank
Rank of alternatives based on score.
Should decision be a data frame, the row names will be carried over to the return value.
decision
Hellwig, Z. (1968). On the optimal choice of predictors. UNESCO.
# NOT RUN { d <- matrix(rpois(12, 5), nrow = 3, ncol = 3) w <- c(1, 1, 2) i <- c('+', '-', '+') hellwig(d, w, i) # }
Run the code above in your browser using DataLab