Package: RFmstate Type: Package Title: Random Forest-Based Multistate Survival Analysis Version: 0.1.2 Authors@R: person("Yiqing", "Chen", role = c("aut", "cre"), email = "y.chen@tamu.edu") Author: Yiqing Chen [aut, cre] Maintainer: Yiqing Chen Description: Fits cause-specific random survival forests for flexible multistate survival analysis with covariate-adjusted transition probabilities computed via product-integral. State transitions are modeled by random forests. Subject-specific transition probability matrices are assembled from predicted cumulative hazards using the product-integral formula. Also provides a standalone Aalen-Johansen nonparametric estimator as a covariate-free baseline. Supports arbitrary state spaces with any number of states (three or more) and any set of allowed transitions, applicable to clinical trials, disease progression, reliability engineering, and other domains where subjects move among discrete states over time. Provides per-transition feature importance, bias-variance diagnostics, and comprehensive visualizations. Handles right censoring and competing transitions. Methods are described in Ishwaran et al. (2008) for random survival forests, Putter et al. (2007) for multistate competing risks decomposition, and Aalen and Johansen (1978) for the nonparametric estimator. License: MIT + file LICENSE Encoding: UTF-8 Depends: R (>= 4.1.0) Imports: survival, ranger, stats, graphics, grDevices, utils Suggests: knitr, rmarkdown, mstate, testthat (>= 3.0.0) VignetteBuilder: knitr Config/testthat/edition: 3 RoxygenNote: 7.3.3 NeedsCompilation: no Packaged: 2026-07-09 06:55:05 UTC; root Repository: https://cran.r-universe.dev Date/Publication: 2026-03-11 16:40:16 UTC RemoteUrl: https://github.com/cran/RFmstate RemoteRef: HEAD RemoteSha: 06f3953514a4a31c2fe80edae725289eb5d09c83