2014-03-13 47 views
0

我試圖確定網站得分R.網站得分普魯克分析中的R

comp.ord<-procrustes(PA.PCA.hell.trans, PCA.hell.trans, scale=T, symmetric=T, scores="sites") 
comp.ord 
summary(comp.ord) 

在輸出執行普魯克分析座標後,我得到:

Number of objects: 235 Number of dimensions: 34 

Procrustes sum of squares: 
0.3938225 
Procrustes root mean squared error: 
0.04093703 
Quantiles of Procrustes errors: 
    Min   1Q  Median   3Q  Max 
0.01880827 0.03088994 0.03657154 0.04343953 0.11136274 

Rotation matrix: (##EXTREMELY LONG. WILL SPARE YOU OF THIS) 

Translation of Averages: ##Also quite long 
Scaling of target: 
[1] 0.778574 

此信息所有這些都非常有價值,但是我正在尋找當你做圖形時繪製的座標:##我不確定如何在問題中放置圖形。

plot(comp.ord) 

我想X,的縮放,旋轉協調

回答

1

我猜y座標您正在使用 「素食主義者」:

comp.ord$X 
comp.ord$Yrot 
plot(0,0, xlim=range(c(comp.ord$X[,1], comp.ord$Yrot[,1])), ylim=range(c(comp.ord$X[,2], comp.ord$Yrot[,2])), type="n") 
points(comp.ord$X, pch=19, col="red") 
points(comp.ord$Yrot, pch=19, col="blue") 
with(compr.ord, arrows(Yrot[,1], Yrot[,2], X[,1], X[,2])) 

HTH