Displaying 1 result from an estimated 1 matches for "geochemdata".
2012 Mar 15
0
PCA R
Hello can anyone help,
I have been running the following script to obtain a PCA plot but the end result is rather disappointing as the points are very very small and there are no titles etc
geochemdata<-read.csv(file.choose(),header=TRUE)
names(geochemdata)
library(vegan)
bstick<-function(n, tot.var=1) rev(cumsum(tot.var/n:1)/n)
geopca<-rda(geochemdata, scale=TRUE)
geopca
geopca$CA$eig/geopca$tot.chi
summary(geopca, scaling=2)
apply(scores(geopca, choices=1.6, display= "spec...