Learn R Programming

shipunov (version 1.17.1)

Cor.vec: Calculates correlation and converts results into the named long vector

Description

Calculates correlation and converts results into the named long vector

Usage

Cor.vec(X, ...)

Value

Named numerical vector of correlations.

Arguments

X

Data frame or matrix with values

...

Arguments to 'cor()'

Author

Alexey Shipunov

Details

Calculates correlation and converts results into the named long vector (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

Rostova.tbl

Examples

Run this code

Cor.vec(trees, method="spearman")

Run the code above in your browser using DataLab