s-news
[Top] [All Lists]

Re: [S] plot tree

To: "Gibiansky, Leonid" <gibianskyl@globomax.com>
Subject: Re: [S] plot tree
From: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
Date: Wed, 31 May 2000 06:27:21 +0100 (BST)
Cc: "splus (E-mail)" <s-news@wubios.wustl.edu>
In-reply-to: <90CD4EECC337D3118B1C00A0C96F6A4D5D666C@globomax.com>
Sender: owner-s-news@wubios.wustl.edu
On Tue, 30 May 2000, Gibiansky, Leonid wrote:

> I need to plot the tree, and I am using post.tree() function to do it.
> However, I need to include the plots into the Word document, and Word does
> not like .ps files. 

Eh?  Word has no problem with .ps files, and we use them all the time.
Maybe you or your computer or printer does, in which can you can convert
.ps using GhostScript.

> Is there any other plot.tree() function that would
> produce the plot of the tree, with all the necessary information included
> into the plot ? The default plot.tree function shows only branches, without
> names of the variables, predicted outcome, statistics etc. 

You can use post.rpart in library rpart, as far as I recall. That
uses standard S plotting functions.


-- 
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

<Prev in Thread] Current Thread [Next in Thread>