
516 Data Analysis and Statistics for Geography, Environmental Science, and Engineering
standardized and shifted positive, i.e., frag.ss that we generated in the previous chapter. Select
for Y the rst three variables (POC, PRL, LAI) and for X the last six variables, or fragmentation
metrics (NP, PD, MPS, LPI, MSI, MPFD).
Apply cca function
> X <- frag.ss[,4:9]; Y<-frag.ss[,1:3]
> XY.cca <- cca(X,Y)
> XY.cca
Call: cca(X = X, Y = Y)
Inertia Proportion Rank
Total 0.3183 1.0000
Constrained 0.1818 0.5713 3
Unconstrained 0.1365 0.4287 5
Inertia is mean squared contingency coefficient
Eigenvalues for constrained axes:
CCA1 CCA2 CCA3
0.095851 0.084667 0.001307 ...