Internal Functions for K-Way analysis of variance
These are internal functions used to construct the robust anova table. The function raov
is the main program.
kwayr(levs, data,...) cellx(X) khmat(levsind,permh) pasteColsRfit(x,sep="") redmod(xmat,amat) subsets(k)
levs
: vector of levels corresponding to each of the factorsdata
: data matrix in the form y, factor 1,..., factor kX
: n x k matrix where the columns represent the levels of the k factors.levsind
: Internal parameter.permh
: Internal parameter.x
: n x k matrix where the columns represent the levels of the k factors.xmat
: n x p full model design matrixamat
: Internal parameter.k
: Internal parameter.sep
: Seperator used in pasteColsRfit...
: additional argumentsHettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.
Hocking, R. R. (1985), The Analysis of Linear Models, Monterey, California: Brooks/Cole.
Joseph McKean, John Kloke
Renamed pasteCols of library plotrix written by Jim Lemon et. al. June 2011 under GPL 2
raov
Useful links