TULIP Resources‎ > ‎

Rfmtool Package


Programming library of fuzzy measure which provides various tools for handling fuzzy measures, calculating Shapley value and Interaction index,  Choquet Integrals, as well as fitting fuzzy measures to empirical data.

It is distributed as a standard R package containing source code files, data sample, and examples. The routine code for fuzzy measure operation is mainly written in C/C++. We supply a “wrapper” function, which allows the operations and data input/output to be performed in the R environment.

There are two distribution files for this package:
  •  Rfmtool.zip is for Window users.
  •  Rfmtool.tar.gz is for Linux users.
The download links can be found at the end of this page.

For more information about its application please refer to:


For Window  Users

The Rfmtool.zip is a standard R package for installation and operation in the Windows environment.

Windows users can install this package by selecting the installation package from local zip files menu bar in the R graphic user interface. Then select the Rfmtool.zip for installation.

The current package should work with R 3.1.2. If you are using a newer version of R, you may need to recompile the Rfmtool package. The instruction is as follow
+ Download and install Rtool http://cran.r-project.org/bin/windows/Rtools/
+ Add Class Path
        C:\Program Files\R\R-3.1.2\bin\x64
+ Download the Rfmtool.tar.gz (the package used for linux below)
+ Open Command Prompt (cmd). Navigate to the location where you store Rfmtool.tar.gz and type R CMD INSTALL --build Rfmtool.tar.gz  It will compile into window package Rfmool.zip for both 32 and 64 bit.

For Linux Users

The Rfmtool.tar,gz is a standard R package for installation and operation in the Linux environment. It contains source code, data and examples.

Linux users can install this package by using the command:
    R CMD INSTALL Rfmtool.tar.gz

Note that it requires C/C++ compiler gcc version 4.6.0 or above to be available for installation in Linux.


This package is developed based on the source code of a "fmtools" package for fuzzy measure operation:
  • Beliakov, G. (2007).fmtools package, version 1.0. http://www.deakin.edu.au/~gleb/aotool.html
The computation of this package depends on  "lpSolve" library, for solving linear, integer and mixed integer programs:
  • Berkelaar, M. and Buttrey, S. (2011).Interface to lp_solve v.5.5 to solve linear/integer programs. Version: 5.6.6 http://cran.r-project.org/web/packages/lpSolve/index.html
For more background knowledge about fuzzy measure and Choquet integral. User can refer to the following book:
  • Beliakov, G., Pradera, A., and Calvo, T. (2007). Aggregation Functions: A Guide for Practitioners. Springer, Heidelberg, Berlin, New York

SelectionFile type iconFile nameDescriptionSizeRevisionTimeUser

Rfmtool package for Linux users.  558k v. 1 Nov 7, 2012, 2:03 AM Huy Quan Vu

  1096k v. 1 Jan 16, 2015, 3:51 AM Huy Quan Vu
SelectionFile type iconFile nameDescriptionSizeRevisionTimeUser