The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

RFmstate: Random Forest-Based Multistate Survival Analysis

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.

Version: 0.1.9
Depends: R (≥ 4.1.0)
Imports: survival, ranger, stats, graphics, grDevices, utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-09-09
DOI: 10.32614/CRAN.package.RFmstate
Author: Yiqing Chen [aut, cre]
Maintainer: Yiqing Chen <y.chen at tamu.edu>
BugReports: https://github.com/EvalunaC/RFmstate/issues
License: MIT + file LICENSE
URL: https://github.com/EvalunaC/RFmstate
NeedsCompilation: no
CRAN checks: RFmstate results

Documentation:

Reference manual: RFmstate.html , RFmstate.pdf
Vignettes: Introduction to RFmstate (source, R code)

Downloads:

Package source: RFmstate_0.1.9.tar.gz
Windows binaries: r-devel: RFmstate_0.1.9.zip, r-release: RFmstate_0.1.2.zip, r-oldrel: RFmstate_0.1.9.zip
macOS binaries: r-release (arm64): RFmstate_0.1.2.tgz, r-oldrel (arm64): RFmstate_0.1.9.tgz, r-release (x86_64): RFmstate_0.1.9.tgz, r-oldrel (x86_64): RFmstate_0.1.9.tgz
Old sources: RFmstate archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RFmstate to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.