Package: RFmstate 0.1.2

Yiqing Chen

RFmstate: Random Forest-Based Multistate Survival Analysis

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.

Authors:Yiqing Chen [aut, cre]

RFmstate_0.1.2.tar.gz
RFmstate_0.1.2.tar.gz(r-4.7-any)RFmstate_0.1.2.tar.gz(r-4.6-any)
RFmstate_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RFmstate/json (API)

# Install 'RFmstate' in R:
install.packages('RFmstate', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.00 score 501 downloads 10 exports 6 dependencies

Last updated from:06f3953514. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK141
source / vignettesOK213
linux-release-x86_64OK129
wasm-releaseOK109

Exports:aalen_johansenclinical_statescompute_trans_probdefine_multistatediagnoseimportanceplot_transition_diagramprepare_datarfmstatesim_clinical_data

Dependencies:latticeMatrixrangerRcppRcppEigensurvival

Introduction to RFmstate

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2026-03-11
Started: 2026-03-11