This page contains all R code included in our book “Random Forests with R” by Robin Genuer and Jean-Michel Poggi.

You can navigate directly on this page using the left bar and R scripts (R or Rmd fils per chapter) can also be downloaded here or thanks to the following links:

Chapitre 1 Introduction (R, Rmd)

Chapitre 2 CART (R, Rmd)

Chapitre 3 Random Forests (R, Rmd)

Chapitre 4 Variable importance (R, Rmd)

Chapitre 5 Variable selection (R, Rmd)