Oty Rosario
January 23, 2021
This presentation is the second part of the course project for the Developing Data Products course on Coursera.
The app I created uses the Edgar Anderson's Iris Data. This data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of Iris.
This is the code that was used for the classification tree model.
library(rpart)
data("iris")
treemodel <- rpart(Species ~ ., data = iris, method = "class")