Learn R Programming

⚠️There's a newer version (1.0.2) of this package.Take me there.

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")

Copy Link

Version

Install

install.packages('BNPmix')

Monthly Downloads

300

Version

0.2.5

License

LGPL-3 | file LICENSE

Maintainer

Riccardo Corradin

Last Published

December 6th, 2019

Functions in BNPmix (0.2.5)

CPP

Collaborative Perinatal Project data
PYcalibrate

Pitman-Yor prior elicitation
MAR_mv_MKR

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - PRODUCT KERNEL
MAR_mv_P

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - LOCATION SCALE
cSLI

C++ function to estimate Pitman-Yor univariate mixtures via slice sampler - LOCATION SCALE
cSLI_L

C++ function to estimate Pitman-Yor univariate mixtures via slice sampler - LOCATION
print.BNPdens

BNPdens print method
summary.BNPdens

BNPdens summary method
MAR_mv

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - LOCATION SCALE
BNPdens2coda.BNPdens

Export to coda interface
MAR_mv_L

C++ function to estimate Pitman-Yor multivariate mixtures via marginal sampler - LOCATION
PYregression

MCMC for Pitman-Yor mixture of Gaussian regressions
cDDP

C++ function to estimate DDP models with 1 grouping variables
PYdensity

MCMC for Pitman-Yor mixtures of Gaussians
cSLI_mv

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - LOCATION SCALE
cSLI_mv_L

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - LOCATION
cICS

C++ function to estimate Pitman-Yor univariate mixtures via importance conditional sampler - LOCATION SCALE
cICS_L

C++ function to estimate Pitman-Yor univariate mixtures via importance conditional sampler - LOCATION
dBNPdens

set generic
partition.BNPdens

Estimate the partition of the data
cICS_mv

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - LOCATION SCALE
clean_partition

C++ function - clean the partition matrix
cICS_mv_L

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler
MAR

C++ function to estimate Pitman-Yor univariate mixtures via marginal sampler - LOCATION SCALE
cSLI_mv_MKR

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - PRODUCT KERNEL
dBNPdens.BNPdens

Evaluate estimated univariate densities at a given point
cSLI_mv_P

C++ function to estimate Pitman-Yor multivariate mixtures via slice sampler - LOCATION SCALE
cICS_mv_P

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - PRODUCT KERNEL
MAR_L

C++ function to estimate Pitman-Yor univariate mixtures via marginal sampler - LOCATION
partition

set generic
plot.BNPdens

Density plot for BNPdens class
cICS_mv_MKR

C++ function to estimate Pitman-Yor multivariate mixtures via importance conditional sampler - PRODUCT KERNEL
BNPmix_VI_LB

C++ function - compute the VI lower bound
BNPdens

BNPdens class constructor
BNPmix-package

BNPmix: Bayesian Nonparametric Mixture Models
BNPpart

BNPpart class constructor
BNPmix_BIN

C++ function - compute the Binder distances
BNPmix_psm

C++ function - compute the posterior similarity matrix
BNPdens2coda

set generic
DDPdensity

MCMC for GM-dependent Dirichlet process mixtures of Gaussians