Rcmdr (version 0.9-11)

partial.cor: Partial Correlations

Description

Computes a matrix of partial correlations between each pair of variables controlling for the others.

Usage

partial.cor(X, ...)

Arguments

X
data matrix.
...
arguments to be passed to cor.

Value

  • Returns a matrix of partial correlations.

See Also

cor

Examples

Run this code
data(DavisThin)
    partial.cor(DavisThin)

Run the code above in your browser using DataCamp Workspace