Hi, I have used the instruction aov in the following manner:
res <- aov(qwe ~ asd) when I typed "res" I get: _________ Call: aov(formula = qwe ~ asd) Terms: asd Residuals Sum of Squares 0.0708704 0.5255957 Deg. of Freedom 1 8 Residual standard error: 0.2563191 Estimated effects may be unbalanced _________ I need to access the value of the Sum of Squares (i.e. I want another variable to be equal to it, e.g myvar <- Sum.of.Squares) . I tried names(res) to see which values are accessible, but I couldn't find the Sum of Squares. I had a similar problem when I tried to access the p.value which can be readily SEEN using summary(res). In general, is there an easy way to access the values generated by an R function? Thank you, LBA ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.