[S] Proper use of "title" argument in post.tree

Marc R. Feldesman (feldesmanm@pdx.edu)
Tue, 04 Aug 1998 22:00:42 -0700


What is the correct way to use the "title" argument in the function
post.tree (or post.rpart). If I have a tree object called tree.obj and I
want to save a postscript file I'm supposed to do something like:

post.tree(tree.obj, file="pretty", title)

Where does title come from?

if I do something like:

title("Humerus Data")

it prints it on a blank graph device

if I do something like:

mytitle<-title("Humerus Data") it prints it on a blank graph device and
seems to save an object called "mytitle"

but

if I do something like:

post.tree(tree.obj, file="pretty", title=mytitle)
or
post.tree(tree.obj, file="pretty", mytitle)
or
post.tree(tree.obj, file="pretty", title="Humerus Data")

they all print a postscript tree to the file called "pretty", with no title
and they all emit an error message complaining about "title".

The help files don't seem to help. V&R2 have some really nice postscript
examples but none have titles.

I'd appreciate advice from the pros on this one.

Thanks.

Dr. Marc R. Feldesman
email: feldesmanm@pdx.edu
email: feldesman@ibm.net
pager: 503-870-2515
fax: 503-725-3905

"If ignorance is bliss then why aren't there more happy people?" Lawrence
Peter

Powered by: Monstrochoerus - the 300 MHz Pentium II
-----------------------------------------------------------------------
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