From c58f08ddde44ecfec99f3316a48d4f80a68ed4dd Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Fri, 25 Oct 2024 17:19:11 +0200 Subject: [PATCH] math/R-cran-GPArotation: new port GPA Rotation for Factor Analysis The GPArotation package contains functions for the rotation of factor loadings matrices. The functions implement Gradient Projection (GP) algorithms for orthogonal and oblique rotation. Additionally, a number of rotation criteria are provided. The GP algorithms minimize the rotation criterion function, and provide the corresponding rotation matrix. For oblique rotation, the covariance/correlation matrix of the factors is also provided. The port is required by update of math/R-cran-psych. --- math/Makefile | 1 + math/R-cran-GPArotation/Makefile | 17 +++++++++++++++++ math/R-cran-GPArotation/distinfo | 3 +++ math/R-cran-GPArotation/pkg-descr | 8 ++++++++ 4 files changed, 29 insertions(+) create mode 100644 math/R-cran-GPArotation/Makefile create mode 100644 math/R-cran-GPArotation/distinfo create mode 100644 math/R-cran-GPArotation/pkg-descr diff --git a/math/Makefile b/math/Makefile index 27e66e947eba..a29fbc746cd7 100644 --- a/math/Makefile +++ b/math/Makefile @@ -17,6 +17,7 @@ SUBDIR += R-cran-FNN SUBDIR += R-cran-Formula SUBDIR += R-cran-FrF2 + SUBDIR += R-cran-GPArotation SUBDIR += R-cran-KFAS SUBDIR += R-cran-LearnBayes SUBDIR += R-cran-MCMCpack diff --git a/math/R-cran-GPArotation/Makefile b/math/R-cran-GPArotation/Makefile new file mode 100644 index 000000000000..f6981edd197c --- /dev/null +++ b/math/R-cran-GPArotation/Makefile @@ -0,0 +1,17 @@ +PORTNAME= GPArotation +DISTVERSION= 2024.3-1 +CATEGORIES= math +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= Gradient Projection Algorithms for Factor Rotation +WWW= https://cran.r-project.org/web/packages/GPArotation/index.html + +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + +TEST_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat + +USES= cran:auto-plist + +.include diff --git a/math/R-cran-GPArotation/distinfo b/math/R-cran-GPArotation/distinfo new file mode 100644 index 000000000000..fd3ec080f97f --- /dev/null +++ b/math/R-cran-GPArotation/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1729867054 +SHA256 (GPArotation_2024.3-1.tar.gz) = 88f657af29789591d581e0c529fd50ef1307abfb33e0403209bd3e591e2654da +SIZE (GPArotation_2024.3-1.tar.gz) = 313398 diff --git a/math/R-cran-GPArotation/pkg-descr b/math/R-cran-GPArotation/pkg-descr new file mode 100644 index 000000000000..83af300c3afe --- /dev/null +++ b/math/R-cran-GPArotation/pkg-descr @@ -0,0 +1,8 @@ +GPA Rotation for Factor Analysis + +The GPArotation package contains functions for the rotation of factor loadings +matrices. The functions implement Gradient Projection (GP) algorithms for +orthogonal and oblique rotation. Additionally, a number of rotation criteria +are provided. The GP algorithms minimize the rotation criterion function, and +provide the corresponding rotation matrix. For oblique rotation, the +covariance/correlation matrix of the factors is also provided.