Re: [R] Comparing variance components

2016-02-16 Thread Wen Huang
t; are variances of two completely different things, so a test comparing them > seems strange, though I suppose some theoretical reason could exists > justifying it, I cannot imagine one though. > > > > > > -Original Message- > From: R-help [mailto:r-help-boun...@

[R] Comparing variance components

2016-02-16 Thread Wen Huang
Dear R-help members, Say I have two data sets collected at different times with the same design. I fit a mixed model using in R using lmer lmer(y ~ (1|A)) to these data sets and get two estimates of sigma2_A and sigma2_e What would be a good way to compare sigma2_A and sigma2_e for these two d

Re: [R] lattice background grid

2010-04-08 Thread Wen Huang
Thanks a lot! On Apr 8, 2010, at 10:50 PM, Felix Andrews wrote: The default settings come from trellis.par.get("reference.line") On 9 April 2010 13:07, Wen Huang wrote: Hi, I wonder if anyone knows how to control color and darkness of the background grid generated by &#x

Re: [R] lattice background grid

2010-04-08 Thread Wen Huang
It works perfectly! Thanks! On Apr 8, 2010, at 10:32 PM, David Winsemius wrote: On Apr 8, 2010, at 11:07 PM, Wen Huang wrote: Hi, I wonder if anyone knows how to control color and darkness of the background grid generated by ' type = c("g", "p") ' in a l

[R] lattice background grid

2010-04-08 Thread Wen Huang
Hi, I wonder if anyone knows how to control color and darkness of the background grid generated by ' type = c("g", "p") ' in a lattice plot (e.g., in xyplot). The documentation does not seem to offer a way to change them. Thanks a lot! Wen __

[R] linear mixed model question

2009-09-06 Thread Wen Huang
Hello, I wanted to fit a linear mixed model to a data that is similar in terms of design to the 'Machines' data in 'nlme' package except that each worker (with triplicates) only operates one machine. I created a subset of observations from 'Machines' data such that it looks the same as th

Re: [R] Question about Sort

2008-11-11 Thread Wen Huang
Thanks a lot Professor Ripley! I did not go into much of the details in the help page and was hoping somebody could have a quick answer. The answer you provided is indeed helpful! Thank you. On Nov 11, 2008, at 10:40 AM, Prof Brian Ripley wrote: On Tue, 11 Nov 2008, Wen Huang wrote

[R] Question about Sort

2008-11-11 Thread Wen Huang
Hi, I am wondering if there is an option to control how R sort characters on different machines. For example, on my Mac OS X > sort(c("H", "a"), decreasing = TRUE) [1] "a" "H" The same command on a Linux machine gives me > sort(c("H", "a"), decreasing = TRUE) [1] "H" "a" I don't know if th

[R] Question about adding text to xYplot(Hmisc)

2008-05-29 Thread Wen Huang
Hello, I have been trying to make a graph that have error bars and text at specific position. I used the following code from the help file of xYplot(Hmisc) as an example except I add a myPanel function, which is just supposed to add letters from the alphabet at the position aligned at y =