This is a version in R language of an famous brazilian classifier called LibOPF (https://github.com/jppbsi/LibOPF), which is a library of functions and programs for free usage in the design of optimum-path forest classifiers.
Please read the package help and visit the Wiki for all the information needed to work with LibOPF.
Package manual: https://cran.r-project.org/web/packages/LibOPF/LibOPF.pdf
More about LibOPF: https://github.com/jppbsi/LibOPF/wiki, http://www.ic.unicamp.br/~afalcao/libopf/