r-lmertest: add new package (#24000)
This commit is contained in:
parent
28517deeeb
commit
3b148f1192
29
var/spack/repos/builtin/packages/r-lmertest/package.py
Normal file
29
var/spack/repos/builtin/packages/r-lmertest/package.py
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 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)
|
||||||
|
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class RLmertest(RPackage):
|
||||||
|
"""Tests in Linear Mixed Effects Models
|
||||||
|
|
||||||
|
Provides p-values in type I, II or III anova and summary tables for lmer
|
||||||
|
model fits (cf. lme4) via Satterthwaite's degrees of freedom method. A
|
||||||
|
Kenward-Roger method is also available via the pbkrtest package. Model
|
||||||
|
selection methods include step, drop1 and anova-like tables for random
|
||||||
|
effects (ranova). Methods for Least-Square means (LS-means) and tests of
|
||||||
|
linear contrasts of fixed effects are also available.
|
||||||
|
"""
|
||||||
|
|
||||||
|
homepage = "https://github.com/runehaubo/lmerTestR"
|
||||||
|
cran = "lmerTest"
|
||||||
|
|
||||||
|
version('3.1-3', sha256='35aa75e9f5f2871398ff56a482b013e6828135ef04916ced7d1d7e35257ea8fd')
|
||||||
|
|
||||||
|
depends_on('r@3.2.5:', type=('build', 'run'))
|
||||||
|
depends_on('r-lme4@1.1-10:', type=('build', 'run'))
|
||||||
|
depends_on('r-numderiv', type=('build', 'run'))
|
||||||
|
depends_on('r-mass', type=('build', 'run'))
|
||||||
|
depends_on('r-ggplot2', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user