Displaying 2 results from an estimated 2 matches for "indexr".
Did you mean:
index
2012 Aug 15
0
color-coding of biplot points for varimax rotated factors (from PCA)
...at NC State University. However, when you compare the
two biplots, the observed points are not in the same location. The
variable vectors match up, but not the points. I'm not sure why. The
code is below. Please help.
label=data[,"Urban.Rural"]
indexU<-which(label=="U")
indexR<-which(label=="R")
collab<-rep(0,length(data[,1]))
collab[indexU]<-"Blue"
collab[indexR]<-"Green"
library(psych)
fit <- principal(mydata, nfactors = num.fac, rotate="varimax", scores = TRUE)
z1 <- sum(fit2$loadings[,1]^2) ### need to sc...
2011 Oct 12
2
p adjustment on 4thcorner results
Hi all,
This is probably a very simple question but I cannot figure out how to do
it. I run the fourthcorner method with my data and would like to adjust the
p values for multiple comparisons using Holm correction. When I run the
fourthcorner I obtain the results in yellow. What do I need to do to be able
to aply the Holm correction to those p values?
> library(ade4)
> four1 <-