Function to facilitate the comparison of two or more factor patterns
stored as a 3-dimensional array.
If only two patterns, a matrix of differences is calculated.
If three of more patterns, a matrix of standard deviations is calculated
Usage
compare(X)
Arguments
X
A 3 dimensional array, where the last dimension corresponds to
different studies or factor solutions.