# BNPmix
An efficient C++ based package to model density distributions via Bayesian nonparametric methods in R.

## Prerequisite and how to install
The BNPmix package is based on RcppArmadillo tools, the GitHub version is a source pack. To install the BNPmix package, if it is not present, it is necessary to install previously the 'devtools' package:

```
install.packages('devtools')
```

Finally, it is possible to get the BNPmix package installing by the source code on GitHub:

```
library(devtools)
install_github("rcorradin/BNPmix")
```

