home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / mansrc / man.defunct / anova.table next >
Encoding:
Text File  |  1996-11-24  |  2.1 KB  |  57 lines

  1. TITLE(anova.table @@ One and Two-Way ANOVA Tables)
  2. USAGE(
  3. anova.table(data, fac1, fac2,
  4.         print.out=true, data.order=false)
  5. )
  6. ARGUMENTS(
  7. ARG(data @@ either a vector of data or a matrix.
  8. If a matrix, the ANOVA table for a two-way ANOVA
  9. with one observation per cell is computed and printed,
  10. with the rows and columns of the matrix corresponding
  11. to the levels of the two factors.
  12. If a vector, then if the arguments
  13. LANG(fac1) and LANG(fac2) are both present,
  14. these are assumed to be the levels of the two factors
  15. in a two-way ANOVA.
  16. If only LANG(fac1) is present,
  17. then a one-way ANOVA table is printed.)
  18. ARG(fac1 @@ levels of the first factor.)
  19. ARG(fac2 @@ levels of the second factor.)
  20. ARG(print.out @@ if LANG(false), the ANOVA table is not printed.)
  21. ARG(data.order @@ if LANG(true), then the factor effects
  22. are ordered according to the order the levels first appear
  23. in the vectors LANG(fac1) and LANG(fac2).
  24. If LANG(false), the factor effects are ordered alphabetically.)
  25. )
  26. DESCRIPTION(
  27. The function prints out the appropriate table,
  28. and also returns a list whose structure is detailed below.
  29. )
  30. VALUES(
  31. For a one-way analysis, the returned value is a list with components: @@
  32. ARG(means @@ the vector of group means,
  33. ordered according to the value of LANG(data.order).)
  34. ARG(sizes @@ the vector of group sizes.)
  35. ARG(df @@ the within-group degrees of freedom.)
  36. ARG(WGSS @@ the within group sum of squares.)
  37. ARG(rms @@ the estimate of sigma.)
  38. ARG(residuals @@ the vector of residuals.)
  39. ARG(response @@ the name of the response.)
  40. ARG(level.names @@ the factor levels.)
  41. )
  42. VALUES(
  43. For a two-way analysis, the returned value is a list with components: @@
  44. ARG(row.means @@ vector of row means.)
  45. ARG(col.means @@ vector of column means.)
  46. ARG(row.effects @@ vector of row effects.)
  47. ARG(col.effects @@ vector of column effects.)
  48. ARG(I @@ number of row factor levels.)
  49. ARG(J @@ number of column factor levels.)
  50. ARG(K @@ number of observations per cel.)
  51. ARG(rms @@ The estimate of sigma.)
  52. ARG(residuals @@ the vector of residuals.)
  53. ARG(response @@ the name of the response.)
  54. ARG(row.names @@ the row factor levels.)
  55. ARG(col.names @@ the column factor levels.)
  56. )
  57.