User Tools

Site Tools


c:ma:2019:lecturer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
c:ma:2019:lecturer [2019/10/03 07:13] – [anova: mtcars] hkimscilc:ma:2019:lecturer [2019/10/04 11:28] (current) – [anova: mtcars] hkimscil
Line 231: Line 231:
 } }
  
-data <- mtcars +library(MASS) 
-x <- mtcars$am + 
-y <- mtcars$mpg+tempd <- iris 
 +x <- tempd$Species 
 +y <- tempd$Sepal.Width 
 + 
 +tempd <- mtcars 
 +<- tempd$gear 
 +y <- tempd$mpg 
 + 
 +tempd <- mtcars 
 +x <- tempd$am 
 +y <- tempd$mpg 
  
 x <- factor(x) x <- factor(x)
Line 269: Line 280:
 siglevel siglevel
  
-mod <- aov(y~x, data=data)+mod <- aov(y~x, data=tempd)
 summary(mod) summary(mod)
  
c/ma/2019/lecturer.1570054420.txt.gz · Last modified: 2019/10/03 07:13 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki