# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages

DESCRIPTION='Propensity Score Matching of Non-Binary Treatments'
KEYWORDS="~amd64"
SRC_URI="http://cran.r-project.org/src/contrib/TriMatch_0.9.9.tar.gz"
LICENSE='GPL-2+'

IUSE="${IUSE-} r_suggests_mass r_suggests_xtable"
R_SUGGESTS="
	r_suggests_mass? ( virtual/MASS )
	r_suggests_xtable? ( sci-CRAN/xtable )
"
DEPEND="sci-CRAN/ggplot2
	sci-CRAN/psych
	>=dev-lang/R-3.0
	sci-CRAN/reshape2
	sci-CRAN/PSAgraphics
	sci-CRAN/gridExtra
	sci-CRAN/ez
	sci-CRAN/scales
	sci-CRAN/randomForest
"
RDEPEND="${DEPEND-} ${R_SUGGESTS-}"