[R-sig-ME] qqnorm question

Chaudhari, Monica mchaudhari at deltadentalwa.com
Fri Mar 30 18:30:46 CEST 2007


Hello Kyle,

Are you trying to test the normality of random effects? If yes, then
below is the way to go:
str(re<-ranef(modl,postVar = TRUE))
qqmath(re)
or qqmath(~re[[1]]); qqmath(~re[[2]]);

Hope this helps.

Thanks,
Monica


-----Original Message-----
From: r-sig-mixed-models-bounces at r-project.org
[mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of Roberts,
J. Kyle
Sent: Friday, March 30, 2007 8:56 AM
To: r-sig-mixed-models at r-project.org
Subject: [R-sig-ME] qqnorm question

Dear All,
 
Forgive my lack of knowledge, but I can't get qqnorm to work with lmer.
I get the following error (dep.lmer is a lmer class object):
 
> qqnorm(dep.lmer)
Error in min(..., na.rm = na.rm) : invalid 'type' (list) of argument
In addition: Warning message:
is.na() applied to non-(list or vector) in: is.na(y)
 
Any ideas?
 
Kyle
 
***************************************
J. Kyle Roberts, Ph.D.
Baylor College of Medicine
Center for Educational Outreach
One Baylor Plaza, MS:  BCM411
Houston, TX   77030-3411
713-798-6672 - 713-798-8201 Fax
jkrobert at bcm.edu
***************************************
 

	[[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models


#########################################################
The information contained in this e-mail and subsequent attachments may be privileged, 
confidential and protected from disclosure.  This transmission is intended for the sole 
use of the individual and entity to whom it is addressed.  If you are not the intended 
recipient, any dissemination, distribution or copying is strictly prohibited.  If you 
think that you have received this message in error, please e-mail the sender at the above 
e-mail address.
#########################################################




More information about the R-sig-mixed-models mailing list