Easy implementation of the MABAC multi-criteria decision method, that was introduced by Pamučar and Ćirović in the work entitled: "The selection of transport and handling resources in logistics centers using Multi-Attributive Border Approximation area Comparison (MABAC)" -
mabacR is an R package that executes the mathematical algorithms that make up the MABAC method, a multi-criteria decision-making method. The package normalizes the data, applies weights, determines the border area, calculates distances to this area, and finally generates a ranking with the optimal option.
You can install the package directly from GitHub using the devtools package. Run the following command in R:
# Install devtools if you haven't already
install.packages("devtools")
# Install mabacR from GitHub
devtools::install_github("https://github.com/slabaverse/mabacR.git")
mabacR(mabac_df)
The mabacR function accepts a dataset that must contain, necessarily in this order:
The function returns a ranking with the optimal choice according to your criteria, weights, and types of criteria.
# Example usage of the mabacR function
data(mabac_df) # Load your dataset
output <- mabacR(mabac_df) # Run the function
print(output) # Print the resulting ranking
Contributions are welcome! Feel free to open issues or pull requests.
This package is licensed under the MIT License.
If you have any questions, feel free to reach out: