partial.cor

0th

Percentile

Partial Correlations

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

Keywords
misc
Usage
partial.cor(X, tests=FALSE, use=c("complete.obs", "pairwise.complete.obs"))
Arguments
X
data matrix.
tests
show two-sided p-value and p-value adjusted for multiple testing by Holm's method for each partial correlation?
use
observations to use to compute partial correlations, default is "complete.obs".
Value

  • Returns the matrix of partial correlations, optionally with adjusted and unadjusted p-values.

See Also

cor

Aliases
  • partial.cor
Examples
data(DavisThin, package="car")
    partial.cor(DavisThin)
    partial.cor(DavisThin, tests=TRUE)
Documentation reproduced from package Rcmdr, version 2.0-3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.