shipunov (version 1.17.1)

Rostova.tbl: 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, ...)

Value

Data frame with correlation structure

Arguments

X

Data frame or matrix with values

GROUP

Number of grouping variable

...

Arguments to 'Cor.vec()'

Author

Alexey Shipunov

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).

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

Cor.vec

Examples

Run this code

Trees <- trees
Trees[, 4] <- sample(letters[1:3], nrow(Trees), replace=TRUE)
(rr <- Rostova.tbl(Trees, 4))
plot(hclust(dist(rr)))

Run the code above in your browser using DataLab