View source: R/GenerateAnovaTable.R
Simple wrapper that generates an Analysis of Variance (ANOVA) table using the built-in anova function, and saves that table to disk.
1 2 3 4 5 6 | GenerateAnovaTable(
fit,
dir = ".",
pretty.names = c("Sum sq", "Mean sq", "F value", "Pr(>F)"),
...
)
|
fit |
lm object. Linear model that has been fit to the data. No default. |
pretty.names |
Character vector. Column names for the analysis of variance table. Defaults to c("Sum sq", "Mean sq", "F value", "Pr(>F)") |
... |
Additional argument for anova(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.