[S] title option in key function

Nicole DePriest Demers (ntd@stat.ohio-state.edu)
Fri, 28 Aug 1998 15:47:27 -0400 (EDT)


Tim Hesterberg of Statsci informed me that there is now an additional
key() option, cex.title, that does what I want. However, I am using
Splus version 3.4 Release 1 for Unix and this option was not
included until Splus version 4.5.

Oh well, now I have another item to add to my list of reasons to
upgrade :-)

Nicole

______________________________________________________________________________
Nicole Demers
Statistics Department
The Ohio State University
1958 Neil Ave., #404
Columbus, OH 43210, USA
ntd@stat.ohio-state.edu

---------- Forwarded message ----------
Date: Fri, 28 Aug 1998 14:38:20 -0400 (EDT)
From: Nicole DePriest Demers <ntd@osustat.mps.ohio-state.edu>
To: s-news@wubios.wustl.edu
Subject: [S] title option in key function

Greetings Splus Users,

I am using the key() function for the first time. It appears to be a lot
more flexible then legend(). My problem is trying to adjust the font size
of the key title. The cex option seems to only affect the text of the
legend but not the title. I have 5 rows in the legend plus the title.
As you can see below, I tried using cex=c(0.7,1,1,1,1,1) but that only
adjusted the first line of the actual legend, not the title.

cf <- list(p=0.2508,u1=6.9629,u2=3.1668,s1=1.0262,s2=1.7278)

key(6,0.17,text=list(c("p","u1","mu2","s1","s2")),text=list(rep("=",5)),
text=list(unlist(cf)),title="Mixture Density Parameters",cex=c(0.7,1,1,1,1,1))

Thanks for any suggestions.

Nicole Demers
______________________________________________________________________________
Nicole Demers
Statistics Department
The Ohio State University
1958 Neil Ave., #404
Columbus, OH 43210, USA
ntd@stat.ohio-state.edu

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