diff --git a/math/Makefile b/math/Makefile index 6b9626e549fe..27e66e947eba 100644 --- a/math/Makefile +++ b/math/Makefile @@ -103,6 +103,7 @@ SUBDIR += R-cran-misc3d SUBDIR += R-cran-miscTools SUBDIR += R-cran-mitools + SUBDIR += R-cran-mnormt SUBDIR += R-cran-moments SUBDIR += R-cran-mvtnorm SUBDIR += R-cran-ncdf4 diff --git a/math/R-cran-mnormt/Makefile b/math/R-cran-mnormt/Makefile new file mode 100644 index 000000000000..bd2ee48f1739 --- /dev/null +++ b/math/R-cran-mnormt/Makefile @@ -0,0 +1,15 @@ +PORTNAME= mnormt +DISTVERSION= 2.1.1 +CATEGORIES= math +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= Multivariate Normal and t Distributions +WWW= https://cran.r-project.org/web/packages/mnormt/index.html + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cran:auto-plist,compiles + +.include diff --git a/math/R-cran-mnormt/distinfo b/math/R-cran-mnormt/distinfo new file mode 100644 index 000000000000..4a407b60c8e0 --- /dev/null +++ b/math/R-cran-mnormt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1729790783 +SHA256 (mnormt_2.1.1.tar.gz) = 95fca70378af0afd5a388982ba5528f5b27e02157eeb9940a0a9762d11511308 +SIZE (mnormt_2.1.1.tar.gz) = 65806 diff --git a/math/R-cran-mnormt/pkg-descr b/math/R-cran-mnormt/pkg-descr new file mode 100644 index 000000000000..392a083722fd --- /dev/null +++ b/math/R-cran-mnormt/pkg-descr @@ -0,0 +1,8 @@ +Functions are provided for computing the density and the distribution function +of d-dimensional normal and "t" random variables, possibly truncated (on one +side or two sides), and for generating random vectors sampled from these +distributions, except sampling from the truncated "t". Moments of arbitrary +order of a multivariate truncated normal are computed, and converted to +cumulants up to order 4. Probabilities are computed via non-Monte Carlo methods; +different routines are used in the case d=1, d=2, d=3, d>3, if d denotes the +dimensionality.