I'd like to append lines from the output of the formula summary.
This is my formula summary--
library(fpp)
analysisOfVariance <-
aov(
score ~ single,
credit
)
summ <- summary(analysisOfVariance)
# assumes:
# independent and randomly selected observations
# normal distributions for each factor level
# common variance
I'd like to add the commented out text to the summary, so that the output looks like this
Call:
aov(formula = as.formula(formula), data = dataset[c(facs$vars[x],
nums$vars[y])])
Terms:
single Residuals
Sum of Squares 834.84 95658.64
Deg. of Freedom 1 498
Residual standard error: 13.8595
Estimated effects may be unbalanced
# assumes:
# independent and randomly selected observations
# normal distributions for each factor level
# common variance