This chapter shows how to build predictive models with packages party, rpart and
randomForest. It starts with building decision trees with package party and using the
built tree for classification, followed by anotherway to build decision trees with package
rpart.After that, it presents an example on training a random forest model with package
randomForest.