> Amp<-Read.Table( Amplify.Txt ,Header=T)

Total Page:16

File Type:pdf, Size:1020Kb

> Amp<-Read.Table( Amplify.Txt ,Header=T)

> amp<-read.table("Amplify.txt",header=T) > names(amp) [1] "Receiver" "Amplifier" "Decibel" > attach(amp) > recf<-factor(Receiver) > ampf<-factor(Amplifier) > av<-aov(Decibel~recf+ampf+recf:ampf) > summary(av) Df Sum Sq Mean Sq F value Pr(>F) recf 1 112.667 112.667 10.4806 0.005156 ** ampf 3 103.000 34.333 3.1938 0.051980 . recf:ampf 3 6.333 2.111 0.1964 0.897318 Residuals 16 172.000 10.750 --- > av2<-aov(Decibel~recf+ampf) > summary(av2) Df Sum Sq Mean Sq F value Pr(>F) recf 1 112.667 112.667 12.0037 0.002595 ** ampf 3 103.000 34.333 3.6579 0.030982 * Residuals 19 178.333 9.386 --- > interaction.plot(operf, machf, pnds,xlab="Operator",ylab="Mean breaking strength") > interaction.plot(recf, ampf, Decibel,xlab="Receiver",ylab="Decibels") > interaction.plot(ampf, recf, Decibel, xlab="Amplifier", ylab="Decibels") >

Recommended publications