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) <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.
| Version: | 0.1.2 |
| Depends: | R (≥ 4.1.0) |
| Imports: | survival, ranger, stats, graphics, grDevices, utils |
| Suggests: | knitr, rmarkdown, mstate, testthat (≥ 3.0.0) |
| Published: | 2026-03-11 |
| DOI: | 10.32614/CRAN.package.RFmstate (may not be active yet) |
| Author: | Yiqing Chen [aut, cre] |
| Maintainer: | Yiqing Chen <y.chen at tamu.edu> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| CRAN checks: | RFmstate results |
| Reference manual: | RFmstate.html , RFmstate.pdf |
| Vignettes: |
Introduction to RFmstate (source, R code) |
| Package source: | RFmstate_0.1.2.tar.gz |
| Windows binaries: | r-devel: RFmstate_0.1.2.zip, r-release: not available, r-oldrel: RFmstate_0.1.2.zip |
| macOS binaries: | r-release (arm64): RFmstate_0.1.2.tgz, r-oldrel (arm64): RFmstate_0.1.2.tgz, r-release (x86_64): RFmstate_0.1.2.tgz, r-oldrel (x86_64): RFmstate_0.1.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=RFmstate to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.