summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-lmertest/package.py
blob: 8639cd63e5600e6a77057a597adfb0d602318217 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2013-2022 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.package 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."""

    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'))