Example: dental hygienist
Plotting rpart treeswiththe rpart.plot package
type = 1 label all nodes (like text.rpart all=TRUE) sex = male age >= 9.5 sibsp >= 3 died died died survived died survived survived yes no type = 2 split labels below node labels sex = male age >= 9.5 sibsp >= 3 died died died survived died survived yes no type = 3 left and right split labels sex = male age >= 9.5 sibsp >= 3 female < 9.5 < 3 ...
Download Plotting rpart treeswiththe rpart.plot package
Information
Domain:
Source:
Link to this page: