From f2d232e386495b3437192d96dd1397c40d44d822 Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Sun, 18 Nov 2012 04:34:53 +0000 Subject: [PATCH] - Add a new port: math/R-cran-MCMCpack This package contains functions to perform Bayesian inference using posterior simulation for a number of statistical models. Most simulation is done in compiled C++ written in the Scythe Statistical Library Version 1.0.3. All models return coda mcmc objects that can then be summarized using the coda package. MCMCpack also contains some useful utility functions, including some additional density functions and pseudo-random number generators for statistical distributions, a general purpose Metropolis sampling algorithm, and tools for visualization. WWW: http://cran.r-project.org/web/packages/MCMCpack/ Feature safe: yes --- math/Makefile | 1 + math/R-cran-MCMCpack/Makefile | 21 +++++++++++++++++++++ math/R-cran-MCMCpack/distinfo | 2 ++ math/R-cran-MCMCpack/pkg-descr | 11 +++++++++++ 4 files changed, 35 insertions(+) create mode 100644 math/R-cran-MCMCpack/Makefile create mode 100644 math/R-cran-MCMCpack/distinfo create mode 100644 math/R-cran-MCMCpack/pkg-descr diff --git a/math/Makefile b/math/Makefile index 5d65297cdd33..ca499b88a007 100644 --- a/math/Makefile +++ b/math/Makefile @@ -8,6 +8,7 @@ SUBDIR += R SUBDIR += R-cran-Formula SUBDIR += R-cran-KFAS + SUBDIR += R-cran-MCMCpack SUBDIR += R-cran-RSvgDevice SUBDIR += R-cran-SuppDists SUBDIR += R-cran-Zelig diff --git a/math/R-cran-MCMCpack/Makefile b/math/R-cran-MCMCpack/Makefile new file mode 100644 index 000000000000..316af9520e22 --- /dev/null +++ b/math/R-cran-MCMCpack/Makefile @@ -0,0 +1,21 @@ +# Created by: TAKATSU Tomonari +# $FreeBSD$ + +PORTNAME= MCMCpack +DISTVERSION= 1.2-4 +CATEGORIES= math +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= Markov chain Monte Carlo Package + +LICENSE= GPLv3 + +RUN_DEPENDS= R-cran-coda>0.11.3:${PORTSDIR}/math/R-cran-coda + +# Actually required 4.0 or later, but at least 4.2 in the FreeBSD ports tree +USE_GCC= 4.2+ +USE_R_MOD= yes +R_MOD_AUTOPLIST= yes + +.include diff --git a/math/R-cran-MCMCpack/distinfo b/math/R-cran-MCMCpack/distinfo new file mode 100644 index 000000000000..6c0064477891 --- /dev/null +++ b/math/R-cran-MCMCpack/distinfo @@ -0,0 +1,2 @@ +SHA256 (MCMCpack_1.2-4.tar.gz) = 5c9aea9329371ab5e8488ad29aff67fbb6a4eca7e4ad25802aed168bcc0b84ba +SIZE (MCMCpack_1.2-4.tar.gz) = 493078 diff --git a/math/R-cran-MCMCpack/pkg-descr b/math/R-cran-MCMCpack/pkg-descr new file mode 100644 index 000000000000..6ba1af935894 --- /dev/null +++ b/math/R-cran-MCMCpack/pkg-descr @@ -0,0 +1,11 @@ +This package contains functions to perform Bayesian inference using +posterior simulation for a number of statistical models. Most +simulation is done in compiled C++ written in the Scythe Statistical +Library Version 1.0.2. All models return coda mcmc objects that can +then be summarized using the coda package. MCMCpack also contains +some useful utility functions, including some additional density +functions and pseudo-random number generators for statistical +distributions, a general purpose Metropolis sampling algorithm, and +tools for visualization. + +WWW: http://cran.r-project.org/web/packages/MCMCpack/