summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-fastmatrix/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-fastmatrix/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-fastmatrix/package.py23
1 files changed, 18 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/r-fastmatrix/package.py b/var/spack/repos/builtin/packages/r-fastmatrix/package.py
index 720fb900e2..8cbc2401df 100644
--- a/var/spack/repos/builtin/packages/r-fastmatrix/package.py
+++ b/var/spack/repos/builtin/packages/r-fastmatrix/package.py
@@ -7,15 +7,28 @@ from spack import *
class RFastmatrix(RPackage):
- """Fast Computation of some Matrices Useful in Statistics
+ """Fast Computation of some Matrices Useful in Statistics.
Small set of functions to fast computation of some matrices and operations
- useful in statistics."""
+ useful in statistics and econometrics. Currently, there are functions for
+ efficient computation of duplication, commutation and symmetrizer matrices
+ with minimal storage requirements. Some commonly used matrix decompositions
+ (LU and LDL), basic matrix operations (for instance, Hadamard, Kronecker
+ products and the Sherman-Morrison formula) and iterative solvers for linear
+ systems are also available. In addition, the package includes a number of
+ common statistical procedures such as the sweep operator, weighted mean and
+ covariance matrix using an online algorithm, linear regression (using
+ Cholesky, QR, SVD, sweep operator and conjugate gradients methods), ridge
+ regression (with optimal selection of the ridge parameter considering the
+ GCV procedure), functions to compute the multivariate skewness, kurtosis,
+ Mahalanobis distance (checking the positive defineteness) and the
+ Wilson-Hilferty transformation of chi squared variables. Furthermore, the
+ package provides interfaces to C code callable by another C code from other
+ R packages."""
- homepage = "https://faosorios.github.io/fastmatrix/"
- url = "https://cloud.r-project.org/src/contrib/fastmatrix_0.3.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/fastmatrix"
+ cran = "fastmatrix"
+ version('0.3-8196', sha256='72fae07c627b995a091ccc3e14b2b2167474e3b1f14d723e87252538cf978fb6')
version('0.3', sha256='d92e789454a129db5f6f5b23e0d2245f3d55ff34b167427af265b9a6331e7c21')
depends_on('r@3.5.0:', type=('build', 'run'))