CRAN status Downloads R build status


DynForest is a R package aiming to predict an outcome using multivariate longitudinal predictors. The method is based on random forest principle where the longitudinal predictors are modeled through the random forest. DynForest currently supports continuous, categorical and survival outcome. The methodology is fully described for a survival outcome in the paper:

Devaux A., Helmer C., Dufouil C., Genuer R., Proust-Lima C. (2022). Random survival forests for competing risks with multivariate longitudinal endogenous covariates. arXiv. <doi: 10.48550/arXiv.2208.05801>


DynForest package could be install from the CRAN with:


Development version of DynForest is also available from GitHub with:

# install.packages("devtools")


We thank Dr. Louis Capitaine for FrechForest R code used in DynForest.