
490 Data Analysis and Statistics for Geography, Environmental Science, and Engineering
which at the end produces a screeplot (Figure 14.19). Note that the object. PC is removed at the end.
If we re-execute the commands shown in the script window except this remove, then we can use
biplot(.PC) from the console to obtain a biplot.
14.10.6 factor analysis
To gain insight, work with the simple data matrix X given in Equation 14.42. Apply the function
factanal that uses the maximum likelihood method for FA.
>Xf <- factanal(X, factors =1)
> Xf
Call:
factanal(x = X, factors = 1)
FIGURE 14.17 Make frag the active dataset and view it.
FIGURE 14.18 Select a ...