Data Analytics – Section 1

In Class Exercise #12 – Decision Trees in R

Here is In-Class Exercise #12 – Decision Tree Induction Using R.

And here are the supporting files. Remember, download them to your computer by right-clicking and selecting Save As

  • The R script you’ll need: dTree.r
  • The data file you’ll need: OrganicsPurchase.csv

    • Note: If you try to open this file in Excel, you’ll get two error dialogs. The file is fine. Just click “Yes” and “OK” and the file will open.

Leave a Reply

Your email address will not be published. Required fields are marked *