C:\Rmisc>C:\R-2.9.0\bin\Rterm --vanilla R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > pdf("pbahasse.pdf") > > pbahasse <- read.fwf(file="C:\\data\\pbahasse.dat", + width=c(8,8,8,8,8,8), + col.names=c("score","tourney","rep","bowler","oil","touney_oil")) > attach(pbahasse) > > tourney <- factor(tourney, levels=1:15) > bowler <- factor(bowler,levels=1:37) > oil <- factor(oil, levels=1:5) > score <- score/100 > > pba.aov <- aov(score ~ oil*bowler*tourney) > > summary(pba.aov) Df Sum Sq Mean Sq F value Pr(>F) oil 4 337.07 84.27 157.8584 < 2.2e-16 *** bowler 36 84.44 2.35 4.3942 9.548e-15 *** tourney 10 97.65 9.77 18.2930 < 2.2e-16 *** oil:bowler 144 129.32 0.90 1.6824 1.669e-05 *** bowler:tourney 360 321.05 0.89 1.6706 2.723e-08 *** Residuals 555 296.26 0.53 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 > > dev.off() null device 1 >