new package: r-cca and dependencies (#28229)

Co-authored-by: Andrew W Elble <aweits@skl-a-00.rc.rit.edu>
This commit is contained in:
Andrew W Elble 2022-01-04 13:41:21 -05:00 committed by GitHub
parent b924a5db14
commit dc1b6aa8c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class RAsh(RPackage):
"""David Scott's ASH routines ported from S-PLUS to R."""
cran = 'ash'
version('1.0-15', sha256='8b0a7bc39dd0ce2172f09edc5b5e029347d041a4d508bbff3f3fd6f69450c2ab')

View File

@ -0,0 +1,19 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class RCca(RPackage):
"""Provides a set of functions that extend the 'cancor' function
with new numerical and graphical outputs. It also include a
regularized extension of the canonical correlation analysis to
deal with datasets with more variables than observations."""
cran = 'CCA'
version('1.2.1', sha256='28febfce7c46039240346410e70f9d8795b536fc4e7e0d48d5370bd23cba9bd0')
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-fields', type=('build', 'run'))
depends_on('r-fda', type=('build', 'run'))

View File

@ -0,0 +1,20 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class RFda(RPackage):
"""These functions were developed to support functional data
analysis as described in Ramsay, J. O. and Silverman, B. W. (2005)
Functional Data Analysis. New York: Springer and in Ramsay, J. O.,
Hooker, Giles, and Graves, Spencer (2009). """
cran = 'fda'
version('5.5.1', sha256='dcaa2f6ae226d35855bc79c6967f60d45404b984c0afaec215b139c4b8dea23a')
depends_on('r@3.5:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
depends_on('r-fds', type=('build', 'run'))
depends_on('r-desolve', type=('build', 'run'))

View File

@ -0,0 +1,16 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class RFds(RPackage):
"""Functional data sets."""
cran = 'fds'
version('1.8', sha256='203a5e7671e542dcb83d4c75d0f4012aaebc32d54f94657afaf9e71e99dd0489')
depends_on('r@3.4.0:', type=('build', 'run'))
depends_on('r-rcurl', type=('build', 'run'))
depends_on('r-rainbow', type=('build', 'run'))

View File

@ -0,0 +1,22 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class RHdrcde(RPackage):
"""Computation of highest density regions in one and two
dimensions, kernel estimation of univariate density functions
conditional on one covariate,and multimodal regression."""
cran = 'hdrcde'
version('3.4', sha256='4341c6a021da46dcae3b1ef6d580e84dcf625c2b2139f537d0c26ec90899149b')
depends_on('r@2.15:', type=('build', 'run'))
depends_on('r-locfit', type=('build', 'run'))
depends_on('r-ash', type=('build', 'run'))
depends_on('r-ks', type=('build', 'run'))
depends_on('r-kernsmooth', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))

View File

@ -0,0 +1,20 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class RRainbow(RPackage):
"""Visualizing functional data and identifying functional outliers."""
cran = 'rainbow'
version('3.6', sha256='63d1246f88a498f3db0321b46a552163631b288a25b24400935db41326636e87')
depends_on('r@3.4.0:', type=('build', 'run'))
depends_on('r-pcapp', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-hdrcde', type=('build', 'run'))
depends_on('r-cluster', type=('build', 'run'))
depends_on('r-colorspace', type=('build', 'run'))
depends_on('r-ks', type=('build', 'run'))