[6471] in s-news-athena

home help back first fref pref prev next nref lref last post

Re: coplot problem

daemon@ATHENA.MIT.EDU (shyu@research.att.com)
Tue Feb 21 12:16:14 1995

From: shyu@research.att.com
Date: Tue, 21 Feb 95 11:41 EST
To: s-news@utstat.toronto.edu


Fred Wolfe (wolfe@twsuvm.uc.twsu.edu) wrote :

> When I make the following coplot the usual
> 
>                Given: Variable Name
> 
> does not appear with the variable name. Instead it prints
>                Given:
> 
> When I remove the ylab="FATIGUE",xlab="SLEEP" statement the
> Given: Variable Name appears correctly. Is this a bug? Is there a
> way to use my own labels and still get a Given: Variable name (or even
> better a label of my choice)"
> 
> 
> coplot(jitter(FATIGUE)~jitter(SLEEPSCA) | DEPINEX,data=fat2,
> panel=function(x,y) panel.smooth(x,y,span=1,degree=1),
> ylab="FATIGUE",xlab="SLEEP")
> 
> Using S-Plus 3.2 for windows.

The proper way, according to the S-Plus documentation, to supply label
for given variable in a coplot is through the specification of xlab :

coplot(jitter(FATIGUE)~jitter(SLEEPSCA) | DEPINEX,data=fat2,
	panel=function(x,y) panel.smooth(x,y,span=1,degree=1),
	ylab="FATIGUE",xlab=c("SLEEP", "DEPINEX"))

Ming

 o=======================================================================o
 | Ming-Jen Shyu (Ming)                 INTERNET:  shyu@research.att.com |
 | AT&T Bell Laboratories, Room 2C-263  UUCP:      attmail!research!shyu |
 | 600 Mountain Avenue                  office:    (908) 582-6863        |
 | Murray Hill, NJ 07974-2070, USA      fax:       (908) 582-3340        |
 o=======================================================================o

home help back first fref pref prev next nref lref last post