- 1. [S] modifying text.tree() (score: 1)
- Author: Don McKenzie <dmck@silvae.cfr.washington.edu>
- Date: Thu, 23 Jul 1998 12:30:45 -0700
- I would like to create a modified version of text.tree() to write back-transformed fitted values at the terminal nodes. For example: I am modeling proportional data using an arcsin/sqrt transformati
- /archives/html/s-news/1998-07/msg00165.html (10,646 bytes)
- 2. Re: [S] modifying text.tree() (score: 1)
- Author: Christian Keller <ckeller@aicos.com>
- Date: Fri, 24 Jul 1998 09:20:12 +0200
- Add a new argument BACKTRANS to text.tree() an insert the following lines before, e.g., cxy <- par("cxy")[2] if(is.null(ylevels)){ # only for regression trees if(!missing(BACKTRANS)){ if(is.character
- /archives/html/s-news/1998-07/msg00175.html (9,197 bytes)
- 3. Re: [S] modifying text.tree() (score: 1)
- Author: Prof Brian Ripley <ripley@stats.ox.ac.uk>
- Date: Fri, 24 Jul 1998 09:49:55 +0100 (BST)
- [...] 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)
- /archives/html/s-news/1998-07/msg00177.html (8,734 bytes)
- 4. Re: [S] modifying text.tree() (score: 1)
- Author: kjetil halvorsen <kjetil@caoba.entelnet.bo>
- Date: Fri, 24 Jul 1998 13:07:20 -0400
- The tree object has component $frame, and values from this can be used to label the tree. Give tree the optional argument label= "name of component in $frame ". You can also extend $frame with your o
- /archives/html/s-news/1998-07/msg00184.html (12,716 bytes)
This search system is powered by
Namazu