Rostova.tbl {shipunov} | R Documentation |
Calculates multiple correlation matrices (via 'factor1') and stacks them together
Description
Calculates multiple correlation matrices (via 'factor1') and stacks them together
Usage
Rostova.tbl(X, GROUP, ...)
Arguments
X |
Data frame or matrix with values |
GROUP |
Number of grouping variable |
... |
Arguments to 'Cor.vec()' |
Details
Calculates multiple correlation matrices (via GROUP) and stacks them together.
Output is suitable for PCA, distance calculations and other multivariate methods (Rostova, 1999; Rostova, 2002).
Value
Data frame with correlation structure
Author(s)
Alexey Shipunov
References
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.
Rostova N.S. 2002. Correlations: Structure and Variability. Saint Petersburg, St. Petersburg University Publisher.
See Also
Examples
Trees <- trees
Trees[, 4] <- sample(letters[1:3], nrow(Trees), replace=TRUE)
(rr <- Rostova.tbl(Trees, 4))
plot(hclust(dist(rr)))
[Package shipunov version 1.17.1 Index]