When I plot a PCA and then the corresponding biplot, the axis are not always in the same direction, just like in these pictures:
These are the functions, I used:
(pc <- prcomp(dat5, center=T, retx=T, scale=T)); summary(pc)
plot(pc$x[,1:2], pch=""); text(pc$x[,1:2], cex=.5, labels=(row.names(dat5)), col=as.numeric(dat$ObCl))
biplot(princomp(dat5, cor=T), cex=.5)
How can I change the axis direction of one of those, to make them the same?