[R] ANOVA test
peter dalgaard
pdalgd at gmail.com
Sat Dec 27 14:41:11 CET 2014
> On 27 Dec 2014, at 02:50 , Richard M. Heiberger <rmh at temple.edu> wrote:
>
> Kristi,
>
> The easiest way to do what you are looking for is the aovSufficient function
> in the HH package.
>
> ## install.packages("HH") ## if you don't have it yet
> library(HH)
> B.aov <- aovSufficient(mean ~ site, data=B, sd=B$SE, weights=c(3,3,3,3))
> summary(B.aov)
>
Ummm, you want SD, not SE, in there, don't you?
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help
mailing list