Description Usage Arguments Details Value See Also Examples

Displays summary information for a two-way anova analysis. The lm object must come from a numerical response variable and factors. The output depends on the value of page:

1 2 3 4 5 6 7 8 9 10 11 |

`fit` |
an lm object, i.e. the output from 'lm()'. |

`page` |
options for output: 'table', 'means', 'effects', 'interaction', 'nointeraction' |

`digit` |
the number of decimal places in the display. |

`conf.level` |
confidence level of the intervals. |

`print.out` |
if TRUE, print out the output on the screen. |

`new` |
if |

`all` |
Only applicable to |

`FUN` |
optional function to be applied to estimates and confidence intervals. Typically for backtransformation operations. |

`...` |
other arguments like inttype, pooled etc. |

page = 'table' anova table page = 'means' cell means matrix, numeric summary page = 'effects' table of effects page = 'interaction' tables of contrasts page = 'nointeraction' tables of contrasts

A list with the following components:

`Df` |
degrees of freedom for regression, residual and total. |

```
Sum of
Sq
``` |
sum squares for regression, residual and total. |

```
Mean
Sq
``` |
mean squares for regression and residual. |

```
F
value
``` |
F-statistic value. |

`Pr(F)` |
The P-value assoicated with each F-test. |

`Grand Mean` |
The overall mean of the response variable. |

`Row Effects` |
The main effects for the first (row) factor. |

`Col Effects` |
The main effects for the second (column) factor. |

`Interaction Effects` |
The
interaction effects if an interaction model has been fitted,
otherwise |

`results` |
If |

.

`summary1way`

, `model.tables`

,
`TukeyHSD`

1 2 3 4 5 6 7 8 9 | ```
##Arousal data:
data(arousal.df)
arousal.fit = lm(arousal ~ gender * picture, data = arousal.df)
summary2way(arousal.fit)
## Butterfat data:
data("butterfat.df")
fit <- lm(log(Butterfat)~Breed+Age, data=butterfat.df)
summary2way(fit, page="nointeraction", FUN = exp)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.