Function overview
Our app is based on the iris dataset in R. Using an RPART decision tree, the app classifies the Species of the 150 iris samples in the dataset based on one of their four features: Sepal.Length, Sepal.Width, Petal.Length, and Petal.Width.
Three core elements
- Sidepanel with radio buttons for user input to accept choice of one of the four features to build RPART model.
- "Prediction" tab in mainpanel with colorful scatterplot showing actual and predicted values of Species. Includes user mouse-hover effects.
- "Tree" tab in mainpanel with plot of the RPART tree.