From d3ee79f6940bd03ca4f747f2e0248d63e9e91f4c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 20 May 2026 20:07:19 +0200 Subject: [PATCH] gnu: Add r-smcfcs. * gnu/packages/cran.scm (r-smcfcs): New variable. Change-Id: I61524e39a7e204c32e884e94439cee74c65d8bd0 --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 58b06c5c9a1..01e22838392 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11561,6 +11561,36 @@ individual SNP score statistics in a SNP set and efficiently compute SNP-set level p-values.") (license license:gpl2+))) +(define-public r-smcfcs + (package + (name "r-smcfcs") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "smcfcs" version)) + (sha256 + (base32 "1kz297dhcdiazs6r13bkax8nqy61s8hb0lhk6psdm6ngbcs6i64n")))) + (properties `((upstream-name . "smcfcs"))) + (build-system r-build-system) + (propagated-inputs (list r-abind + r-brglm2 + r-checkmate + r-mass + r-rlang + r-survival + r-vgam)) + (native-inputs (list r-knitr r-mitools)) + (home-page "https://github.com/jwb133/smcfcs") + (synopsis "Multiple imputation of covariates") + (description + "This package implements multiple imputation of missing covariates by +Substantive Model Compatible Fully Conditional Specification. This is a +modification of the popular FCS/chained equations multiple imputation +approach, and allows imputation of missing covariate values from models which +are compatible with the user specified substantive model.") + (license license:gpl3))) + (define-public r-smotefamily (package (name "r-smotefamily")