powered by
PCA(x, ...)
compositional
princomp function
PCA
princomp
data(Namib) plot(MDS(Namib$Major,classical=TRUE)) dev.new() plot(PCA(Namib$Major),asp=1) print("This example demonstrates the equivalence of classical MDS and PCA")
Run the code above in your browser using DataLab