Package: ctreeMI
Title: Conditional Inference Trees with Stacked Multiple Imputation
Version: 0.1.0
Authors@R: person("Phillip", "Sherlock",
    email = "phillip.sherlock@ufl.edu",
    role = c("aut", "cre"),
    comment = c(ORCID = "0000-0003-0433-3681"))
Description: Implements the stacked-imputation workflow for conditional
    inference trees ('ctree') described in Sherlock et al. (2026)
    <doi:10.1080/00273171.2026.2661244>. When data contain missing values,
    multiply imputed datasets (e.g., from 'mice') are stacked vertically
    and a single 'ctree' is fit on the combined data. To correct for the
    artificially inflated sample size introduced by stacking, the pruning
    significance threshold is divided by the number of imputations M
    (the Stack/M correction), producing a conservative but interpretable
    single tree that incorporates imputation uncertainty without requiring
    pooling of structurally different trees. Also exports
    stack_imputations() and rescale_alpha() as standalone utilities. The
    underlying 'ctree' algorithm is provided by 'partykit'
    (Hothorn & Zeileis, 2015; Hothorn, Hornik & Zeileis, 2006
    <doi:10.1198/106186006X133933>).
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: partykit (>= 1.2-0), mice (>= 3.0.0), methods
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
Depends: R (>= 4.0.0)
URL: https://github.com/Phillip-Sherlock/ctreeMI
BugReports: https://github.com/Phillip-Sherlock/ctreeMI/issues
NeedsCompilation: no
Packaged: 2026-07-02 21:17:52 UTC; coe-phillip.sherlock
Author: Phillip Sherlock [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-0433-3681>)
Maintainer: Phillip Sherlock <phillip.sherlock@ufl.edu>
Repository: CRAN
Date/Publication: 2026-07-10 19:00:02 UTC
Built: R 4.6.1; ; 2026-07-10 23:53:35 UTC; windows
