🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.stats.s
Article #272

Re: [S] Saving tree fits as Windows metafiles // wmf.graph() and

#272
From: Prof Brian D Ripley
Date: Tue, 07 Aug 2001 06:31
35 lines
3041 bytes
On Mon, 6 Aug 2001, Potter, David M wrote:

> Hi --
>
> I am using S-Plus version 6.0, Release 1 for Unix (Sun SPARC).
>
> With previous versions of S-Plus, when I built classification/regression
> trees, I typically saved the trees to Postscript files using post.tree(),
> then converted them to Windows metafiles using GSview (Edit, convert to
> vector format) on my PC, so that I could then incorporate them into
> Microsoft documents (e.g., PowerPoint).
>
> Version 6.0 now has wmf.graph() that directly creates a Windows metafile.
> This works fine for the usual plot functions, Trellis plots, etc., but I'm
> wondering if the same could be done for tree output.  I'm envisioning
> something like a 'wmf.tree()' function.  Has this been looked at it?  Thanks
> for your help.

post.tree writes postscript directly, not via the drivers mechanism.
You can probably make use of the facilities of rpart, as post.rpart does
use the drivers mechanism.  I think you can convert trees to rpart
objects, but rpart is preferable anyway.

-- 
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@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news
---
Technical Details
Message-ID: <Pine.GSO.4.31.0108070714010.7815-100000@auk.stats>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news.mel.connect.com.au!newshub1.rdc1.nsw.optushome.com.au!news1.optus.net.au!optus!news.usyd.edu.au!news.nsw.CSIRO.AU!cmis.csiro.au!owner-s-news
References: <741F96116EE9D411BF2C00805FA709C7252046@groexmbcr03.pfizer.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa931,8a9c78bc992bc3ba
X-Google-Attributes: gidfa931,public
X-Google-ArrivalTime: 2001-08-06 23:36:01 PST
Newsgroups: aus.stats.s
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news.mel.connect.com.au!newshub1.rdc1.nsw.optushome.com.au!news1.optus.net.au!optus!news.usyd.edu.au!news.nsw.CSIRO.AU!cmis.csiro.au!owner-s-news
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Subject: Re: [S] Saving tree fits as Windows metafiles // wmf.graph() and
X-Nntp-Posting-Host: snowy.nsw.cmis.csiro.au
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.GSO.4.31.0108070714010.7815-100000@auk.stats>
X-Cc: "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Sender: majordomo@mailhost.nsw.cmis.CSIRO.AU
Organization: CSIRO Australia
X-In-Reply-To: <741F96116EE9D411BF2C00805FA709C7252046@groexmbcr03.pfizer.com>
References: <741F96116EE9D411BF2C00805FA709C7252046@groexmbcr03.pfizer.com>
X-To: "Potter, David M" <david_m_potter@groton.pfizer.com>
Mime-Version: 1.0
Date: Tue, 7 Aug 2001 06:31:55 GMT
Content-Length: 1599
X-Precedence: bulk
X-Received: from max118.public.ox.ac.uk (max118.public.ox.ac.uk [192.76.27.118])
 by toucan.stats.ox.ac.uk (8.9.0/8.9.0) with ESMTP id HAA11127;
 Tue, 7 Aug 2001 07:17:51 +0100 (BST)
Lines: 35