On 26.04.2010 19:33, S, Manjunath (GE, Research) wrote:

I have created a multivariate regression tree using mvpart, with 3-4
responses.  Though the plot shows bargraphs for each response, I would
like to have the VALUES of the responses
printed or indicated (via a scale or something) alongside the bargraph.

Is this possible ??


Sure, save the result as in:

result <- mvpart(.....)

Then you get the leaf values by

result$frame$yval2[result$frame$var=="<leaf>", ]

and you can use them for printing, legends, or whatever you like.

Best,
Uwe Ligges



Thanks,
Manjunath



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to