Package: RFmstate
Type: Package
Title: Random Forest-Based Multistate Survival Analysis
Version: 0.1.9
Authors@R: person("Yiqing", "Chen", role = c("aut", "cre"),
    email = "y.chen@tamu.edu")
Description: Fits transition-specific cause-specific random survival forests
    on a clock-reset duration scale for acyclic, non-recurrent multistate
    processes. Entry-conditioned state-occupation probabilities are assembled
    from predicted cumulative hazards by semi-Markov entry-mass and sojourn
    convolution on a validated regular grid. The one-row-per-subject interface
    supports one common initial state, one recorded entry per state, baseline
    time-fixed covariates, competing exits, and independent right censoring.
    Left truncation, recurrent visits, directed cycles, time-dependent
    covariates, and ongoing-sojourn dynamic prediction are not supported.
    The package also provides calendar-time Aalen-Johansen point estimates as
    a covariate-free descriptive baseline, transition-specific permutation
    importance, genuine ranger edge OOB concordance, and patient-level
    cross-validated IPCW state-probability scoring. Methods are described in
    Ishwaran et al. (2008) <doi:10.1214/08-AOAS169> for random survival
    forests, Putter et al. (2007) <doi:10.1002/sim.2712> for multistate
    competing risks decomposition, and Aalen and Johansen (1978)
    <https://www.jstor.org/stable/4615704> for the nonparametric
    estimator.
License: MIT + file LICENSE
URL: https://github.com/EvalunaC/RFmstate
BugReports: https://github.com/EvalunaC/RFmstate/issues
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: survival, ranger, stats, graphics, grDevices, utils
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-09-09 17:40:55 UTC; y.chen
Author: Yiqing Chen [aut, cre]
Maintainer: Yiqing Chen <y.chen@tamu.edu>
Repository: CRAN
Date/Publication: 2026-09-09 18:30:02 UTC
Built: R 4.6.1; ; 2026-09-09 20:00:37 UTC; unix
