You need the code to put in R to create the descision tree and answer the question.
Load the prostate.csv data set. Create a decision tree based on the data set. Copy and paste the decision tree with text below. How many leaf nodes does the tree have?