|
Data Science Desktop Survival Guide
by Graham Williams |
|
|||
Party Regression Tree |
The tree drawing facilities of party can again be used to draw the rpart regression tree using as.party().
|
class(model)
plot(as.party(model))
Notice the visualisation of the predictions—this is particularly informative. We have, in an instant, a view of the conditions when there is little or no rain, compared to significant rain.
|