summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2012-11-18 04:34:53 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2012-11-18 04:34:53 +0000
commitf2d232e386495b3437192d96dd1397c40d44d822 (patch)
tree795ef48e2831c8e474d76cd7c3191c5df80af31d /math
parent. Update to 4.6.1 (diff)
- 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
Notes
Notes: svn path=/head/; revision=307527
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-MCMCpack/Makefile21
-rw-r--r--math/R-cran-MCMCpack/distinfo2
-rw-r--r--math/R-cran-MCMCpack/pkg-descr11
4 files changed, 35 insertions, 0 deletions
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 <tota@FreeBSD.org>
+# $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 <bsd.port.mk>
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/