normalize: normalize()

View source: R/normalize.R

normalizeR Documentation

normalize()

Description

Normalize the values of Alternatives X Criteria matrix according to a given Cost - Benefit vector of flags.

Usage

normalize(normalized_matrix, vec_cost_benefit)

Arguments

normalized_matrix

A data set object with Alternatives X Criteria values to be normalized

vec_cost_benefit

A vector of flags that determines if the criterion is a Cost or Benefit. Must be same size of Criteria, must contains just strings initiated with B, b, C or c

Value

A data frame object that contains the input matrix values normalized


waspasR documentation built on June 7, 2023, 6:02 p.m.