Displaying 1 result from an estimated 1 matches for "fframe_1".
2011 Sep 22
1
Wrapper of linearHypothesis (car) for post-hoc of repeated measures ANOVA
...mation matrix
(Tm) in the first step is diagonal.
if (length(fnames)==ncol(fframe)-1){
m <- nrow(fframe)
Tm <- diag(m)
}else{
# Remove columns of unspecified factors
fframe <- fframe[,c(fnames,dummyname)]
# Vector with a different value for each
combination of factors
fframe_1 <- apply(fframe,1,paste,collapse="")
n <- nrow(fframe)
# Subset of unique elements
fframe <- unique(fframe)
fframe_1.m <- unique(fframe_1)
m <- nrow(fframe)
# Matrix with coefficients for averaging
identical combinations of factors
# Rows in Mo are the...