[R] [r] align xyplot

David Winsemius dwinsemius at comcast.net
Tue Feb 22 14:33:07 CET 2011


I don't know the term "intestation", but from context it appears you  
might need:

?trellis.par.set


-- 
David.
On Feb 22, 2011, at 7:23 AM, Francesco Nutini wrote:

>
> Hi Dennis and [R]users!
> as I said last week, I need more info about xyplot.
>
> Is it possible to change the color of the intestation of xyplot? By  
> default is pale-pink, but light-gray is better for a paper.
>
> Thanks,
>
> Francesco
>
> From: nutini.francesco at gmail.com
> To: djmuser at gmail.com
> CC: r-help at r-project.org
> Subject: RE: [R] [r] align xyplot
> Date: Thu, 3 Feb 2011 10:58:35 +0000
>
>
> Thanks Dennis,
> I have used the codes  as.table = TRUE and  aspect = 1 to obtain  
> what i needed.
> Maybe I'll ask you more about xyplot, is very powerfull tool!
>
> Cheers,
> Francesco
>
> Date: Mon, 31 Jan 2011 04:33:27 -0800
> Subject: Re: [R] [r] align xyplot
> From: djmuser at gmail.com
> To: nutini.francesco at gmail.com
> CC: r-help at r-project.org
>
> Hi:
>
> Look at as.table = TRUE and (perhaps) the skip = options in  
> xyplot(). as.table = TRUE will put 1998 in the upper left corner and  
> proceed row-wise.
>
> Here's an example using the singer data:
>
> histogram( ~ height | voice.part, data = singer, nint = 17,
>
>           endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1,
>           xlab = "Height (inches)")
> histogram( ~ height | voice.part, data = singer, nint = 17, as.table  
> = TRUE,
>           endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1,
>
>           xlab = "Height (inches)")
>
> The '2' voices are lower than the '1' voices, so the ordering is  
> correct.
>
> HTH,
> Dennis
>
>
> On Mon, Jan 31, 2011 at 2:44 AM, Francesco Nutini <nutini.francesco at gmail.com 
> > wrote:
>
>
>
> Dear R users,
>
> I'm using xyplot to obtain a graph about a correlation x~y for  
> different years (a categoric variable).
>
> The program dispose automatically the graphs in this way:
>
>
>
> 2010
>
> 2007 2008 2009
>
> 2004 2005 2006
>
> 2001 2002 2003
>
> 1998 1999 2000
>
>
>
> Which code should I use to obtain this sequance of graphs?
>
>
>
> 1998 1999 2000 2001 2002 2003 2004 2005 2006  2007 2008 2009 2010
>
>
>
>
>
> I have tried with "par" code but it's doesn't work.
>
>
>
> Thanks for help,
>
>
>
> Francesco Nutini
>
>
>
>
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
>
> R-help at r-project.org mailing list
>
> https://stat.ethz.ch/mailman/listinfo/r-help
>
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>
> and provide commented, minimal, self-contained, reproducible code.
>
>
> 		 	   		
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list