23. Tree Models

  1. Michael J. Crawley

Published Online: 6 NOV 2012

DOI: 10.1002/9781118448908.ch23

The R Book, Second Edition

The R Book, Second Edition

How to Cite

Crawley, M. J. (2012) Tree Models, in The R Book, Second Edition, John Wiley & Sons, Ltd, Chichester, UK. doi: 10.1002/9781118448908.ch23

Author Information

  1. Imperial College London at Silwood Park, UK

Publication History

  1. Published Online: 6 NOV 2012
  2. Published Print: 7 DEC 2012

ISBN Information

Print ISBN: 9780470973929

Online ISBN: 9781118448908



  • tree models;
  • regression trees;
  • using rpart to fit tree models;
  • tree models as regressions;
  • model simplification;
  • classification trees, with categorical explanatory variables;
  • classification trees for replicated data;
  • testing for existence of humps


This chapter contains sections titled:

  • Background

  • Regression trees

  • Using rpart to fit tree models

  • Tree models as regressions

  • Model simplification

  • Classification trees with categorical explanatory variables

  • Classification trees for replicated data

  • Testing for the existence of humps