R programming, Random forest through caret

r, r-caret, random-forest

Solution

Most packages contain a manual, and many also include vignettes.

A quick look at the CRAN page for `caret` http://cran.r-project.org/web/packages/caret/index.html shows that this packages is particularly well documented.

It contains 4 vignettes:

- caret Manual – Data and Functions

- caret Manual – Variable Selection

- caret Manual – Model Building

- caret Manual – Variable Importance

Start there.

Problem

I'm newbie in R and I want to implement the random forest algorithm using the caret package. Is there any useful tutorial, step by step?

Original source