From: Prof Brian Ripley (email@example.com)
Date: Tue 17 Apr 2001 - 23:16:28 EST
On Tue, 17 Apr 2001, Patrick Lentz wrote:
> I am currently trying to perform an ANOVA with random effects in R, but
> failed in finding the correct code.
> Does a code exist for performing an ANOVA with random effects similar to
> "aov" or "anova" for fixed effects?
> Thanks for your help and best wishes
> Patrick Lentz
Yes, it's called aov(). You need a formula with Error() in. There is an
example in ?aov, believe it or not.
If your data are really not suitable for aov (e.g. unbalanced) you can use
lme in package nlme.
-- Brian D. Ripley, firstname.lastname@example.org Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: email@example.com _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:39 EST