Displaying 3 results from an estimated 3 matches for "flevels".
Did you mean:
levels
2008 May 12
1
inserting mathematical symbols in lattice strip
I have tried without success to find a way including the square root symbol
in lattice strips as part of my conditioning labels. I have tried
supplementing by creating a list of vectors using the var.name function
coupled with the expression function used in xlab/ylab.
xyplot(adjusted_Rand_index~cluster|distance_measure, main="Level of
agreement between partitions: Wards Method",
2003 May 21
1
Code Help
...in the code. My level of knowledge is improving but
still limited.
The details are;
Data on clover lines; Lines.txt attached. Comma seperations
Code:
options(digits=3)
clover <- read.table("Lines.txt",header=T,sep=",")
vnames <- names(clover);nv <- length(vnames)
flevels <- levels(clover$Line)
par(oma=c(0,6,4,6),mfrow=c(2,1),mar=c(4,4,1,0))
clover$Y <- clover[,"LeafLmm"]
mn.tab <- tapply(clover$Y,list(clover$Line),mean)
sd.tab <- sqrt(tapply(clover$Y,list(clover$Line),var))
om <- order(mn.tab)
plot(mn.tab,sd.tab,las=1,xlab="mean&quo...
2011 Sep 22
1
Wrapper of linearHypothesis (car) for post-hoc of repeated measures ANOVA
...if (nrow(fc) != nlevels(f)){
stop("Mismatch in the
number of unnamed factor levels for \"",fname,"\".")
}else{
rownames(fc) <-
levels(f)
}
}else{
# Named coefficients are
assigned to a matrix of factor levels, filled in with zeros
flevels <-
match(rownames(fc),levels(f))
fctmp <- fc
fc <-
matrix(0,nrow=nlevels(f),ncol=ncol(fctmp))
if (any(is.na(flevels))){
stop("Mismatch in the
names of factor levels for \"",fname,"\".")
}
fc[flevels,] <- fctmp
rownames(fc...