7.12.2011

Function : COR - Correlation

Function : cor - Correlation

Description :

    cor compute the correlation of x and y if these are vectors.
    If x and y are matrices then the correlations between the columns of x and the columns of y are computed.

Usage :

    cor(x, y = NULL, use = "everything", method = c("pearson", "kendall", "spearman"))

Arguments :

    x : a numeric vector, matrix or data frame.
    y
    method : "pearson" / "kendall" / "spearman"

See Also ...