[S] title option in key function

Nicole DePriest Demers (ntd@stat.ohio-state.edu)
Fri, 28 Aug 1998 14:38:20 -0400 (EDT)


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