User Tools

Site Tools


factorial_anova

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
Next revisionBoth sides next revision
factorial_anova [2019/02/20 21:45] hkimscilfactorial_anova [2020/05/28 22:44] – [예] hkimscil
Line 403: Line 403:
 </code> </code>
  
 +<code>
 +> cookies <- read.csv("http://commres.net/wiki/_media/cookies.csv")
 +> cookies
 +   weight fullness ncookies
 +1              1       15
 +2              1       17
 +3              1       32
 +4              1       12
 +5              1       34
 +6              1       27
 +7              1       13
 +8              1       24
 +9              1       41
 +10      1        1       20
 +11      1        1       23
 +12      1        1       25
 +13      1        1        9
 +14      1        1       21
 +15      1        1       22
 +16      1        1       26
 +17      1        1       26
 +18      1        1       28
 +19      1        1       22
 +20      1        1        3
 +21      1        2       22
 +22      1        2        7
 +23      1        2       15
 +24      1        2        6
 +25      1        2        8
 +26      1        2       18
 +27      1        2       24
 +28      1        2       19
 +29      1        2       11
 +30      1        2        9
 +31      1        2       24
 +32      1        2       19
 +33      1        2        9
 +34      1        2       19
 +35      1        2       29
 +36      1        2        9
 +37      1        2       18
 +38      1        2       17
 +39      1        2        3
 +40      1        2       14
 +41      2        1        7
 +42      2        1       19
 +43      2        1        8
 +44      2        1       23
 +45      2        1        6
 +46      2        1       11
 +47      2        1       18
 +48      2        1       23
 +49      2        1       22
 +50      2        1       16
 +51      2        1       28
 +52      2        1       19
 +53      2        1        2
 +54      2        1       27
 +55      2        1       20
 +56      2        1       25
 +57      2        1       23
 +58      2        1       10
 +59      2        1       19
 +60      2        1       14
 +61      2        2       14
 +62      2        2       21
 +63      2        2       16
 +64      2        2       14
 +65      2        2       17
 +66      2        2       20
 +67      2        2       20
 +68      2        2       21
 +69      2        2       32
 +70      2        2       26
 +71      2        2        9
 +72      2        2       14
 +73      2        2       16
 +74      2        2       15
 +75      2        2        6
 +76      2        2        5
 +77      2        2       12
 +78      2        2       23
 +79      2        2       27
 +80      2        2       32
 +
 +</code>
 +
 +<code>
 +with(cookies, interaction.plot(x.factor=fullness, 
 +  trace.factor=weight, response=ncookies, fun=mean, 
 +  type="b", legend=T, ylab="num of cookies", 
 +  main="Interaction Plot", pch=c(1,19)))
 +</code>
  
 ===== Interpreting interaction ===== ===== Interpreting interaction =====
factorial_anova.txt · Last modified: 2024/05/01 08:36 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki