library("rpart")
library("MASS") # for Boston Housing data
model <- rpart(medv~lstat+rm, data=Boston)
summary(model)
plot(model)
text(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.