Re: [S] modifying text.tree()

Prof Brian Ripley (ripley@stats.ox.ac.uk)
Fri, 24 Jul 1998 09:49:55 +0100 (BST)


> Date: Fri, 24 Jul 1998 09:20:12 +0200
> From: Christian Keller <ckeller@aicos.com>
> To: Don McKenzie <dmck@silvae.cfr.washington.edu>
>
> Don McKenzie wrote:
>
> >> I would like to create a modified version of text.tree() to
> >> write back-transformed fitted values at the terminal nodes.
> >> ...
>
> Add a new argument BACKTRANS to text.tree()

[...]

Oh PLEASE don't make special-purpose changes unnecessarily, especially
in CAPITALS. My reply was

You don't need to modify anything. Just do

mytree$frame$newval <- myfunction(mytree$frame$yval)
text(mytree, "newval")

If you want to use post.tree, just replace mytree$frame$yval instead.

Whatever has happened to the practice of sending private replies that
the original poster summarizes?

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

----------------------------------------------------------------------- This message was distributed by s-news@wubios.wustl.edu. To unsubscribe send e-mail to s-news-request@wubios.wustl.edu with the BODY of the message: unsubscribe s-news