Decision Trees
Dear Sharon
This is really excellent - my only question is whether there is a way to format (i) the colors, to make the output better fit in with the existing report and (ii) the formating of numbers in nodes? I am working on a loan portfolio to estimate the likelihood of default - but the loan amounts are presented in ln (XeY) format - it would be really helpful to amend these.
Regardless, this is an excellent contribution!
Gratefully,
Tim
Hi TimKroemer ,
Sorry for the delay in reply:
(i)the colors.
Answer: look for "default.palettes" in R script and change it as you like
(ii) the formating of numbers in nodes?
Answer: prp {rpart.plot} function has plenty of parameters.
https://www.rdocumentation.org/packages/rpart.plot/versions/2.1.0/topics/prp
- Anonymous6 years agoNot applicable
hello, where I can find the default.palettes option you are talking about? in the visual format pane there is no such thing. thank you.