Calculates multiple correlation matrices (via 'factor1') and stacks them together
Rostova.tbl(X, GROUP, ...)
Data frame or matrix with values
Number of grouping variable
Arguments to 'Cor.vec()'
Data frame with correlation structure
Calculates multiple correlation matrices (via GROUP) and stacks them together.
Output is suitable for PCA, distance calculations and other multivariate methods (Rostova, 1999).
Rostova N.S. 1999. The variability of correlations systems between the morphological characters. Part 1. Natural populations of Leucanthemum vulgare (Asteraceae). Botanicheskij Zhurnal. 84(11): 50--66.
# NOT RUN {
Trees <- trees
Trees[, 4] <- sample(letters[1:3], nrow(Trees), replace=TRUE)
Rostova.tbl(Trees, 4)
# }
Run the code above in your browser using DataLab