Metadata-Version: 2.1
Name: roses
Version: 0.2
Summary: ROSES (R pythOn Statistical tEstS) is a package to use statistical tests from R to Python
Home-page: https://github.com/jacksonpradolima/roses
Author: Jackson Antonio do Prado Lima
Author-email: jacksonpradolima@gmail.com
Maintainer: Jackson Antonio do Prado Lima
Maintainer-email: jacksonpradolima@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Description-Content-Type: text/markdown
Requires-Dist: pandas (>=0.23.4)
Requires-Dist: scipy (>=1.1.0)
Requires-Dist: numpy (>=1.15.2)
Requires-Dist: seaborn (>=0.9.0)
Requires-Dist: pingouin (>=0.2.2)
Requires-Dist: matplotlib (>=3.0.2)
Requires-Dist: tzlocal (==1.5.1)
Requires-Dist: rpy2 (==2.9.5)

# ROSES 
ROSES (**R** pyth**O**n **S**tatistical t**E**st**S**) is a package to use statistical tests from R to Python for multiple algorithms in multiple problems.

[![PyPI License](https://img.shields.io/pypi/l/jMetalPy.svg?style=flat-square)]()
[![PyPI Python version](https://img.shields.io/pypi/pyversions/jMetalPy.svg?style=flat-square)]()
[![DOI](https://zenodo.org/badge/209055396.svg)](https://zenodo.org/badge/latestdoi/209055396)

This package was created due to differences in the precision from other Python packages for statistical tests. As R is a programming language with excellent libraries for statistical, **ROSES** was created as a bridge (parses) to use them.  

## Table of Contents
- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Features](#features)
- [License](#license)
- [Citation](#citation)

## Requirements

Install Python:

```console
sudo apt install python3-dev python3-setuptools python3-tk python-dev
```

Install R:
```console 
sudo apt install r-base
```

To compile the R libraries:
```console 
sudo apt install gfortran libcurl4-openssl-dev
```

To install the following R libraries, otherwhise a warning will be handled:
```console
install.packages('devtools')
devtools::install_github("b0rxa/scmamp")
install.packages('PMCMR')
install.packages("https://cran.r-project.org/src/contrib/Archive/mvtnorm/mvtnorm_1.0-8.tar.gz", repos=NULL)
install.packages('PMCMRplus')
install.packages("https://cran.r-project.org/src/contrib/Archive/rgdal/rgdal_1.3-6.tar.gz", repos=NULL)
install.packages('pgirmess')
```

If you received warnings to install the R libraries, try some the commands as follow:

```console
sudo apt install  libevent-dev  libreadline-dev 
sudo apt install libudunits2-dev libgdal-dev libgeos-dev libproj-dev
sudo apt install libgmp3-dev libmpfr-dev
```

## Installation
To download ROSE just clone the Git repository hosted in GitHub:

```console
git clone https://github.com/jacksonpradolima/ROSE.git
python setup.py install
```

Alternatively, you can install it with `pip`:

```console
pip install roses
```

## Usage
Examples of configuring and running all the included algorithms are located in the *test* folders [roses folder](roses).

## Features
The current release of **ROSES** (v0.2) contains the following tests:

* Kruskal-Wallis with Post-hoc when necessary (comparing p-value)
* Friedman  with Critical Distance plot and Post-hoc when necessary (comparing p-value)
* Varghas and Delaney (effect size)

## License
This project is licensed under the terms of the MIT - see the [LICENSE](LICENSE) file for details.

## Citation

If this package contributes to a project which leads to a scientific publication, I would appreciate a citation.

```
@misc{roses,
  author       = {Prado Lima, Jackson Antonio do},
  title        = {{ROSES (R pythOn Statistical tEstS)}},
  month        = sep,
  year         = 2019,
  doi          = {10.5281/zenodo.3444187},
  url          = {https://doi.org/10.5281/zenodo.3444187}
}
```


