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

1 | ```
partial.cor(X, tests=FALSE, use=c("complete.obs", "pairwise.complete.obs"))
``` |

`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 |

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

John Fox jfox@mcmaster.ca

`cor`

1 2 3 | ```
data(DavisThin, package="car")
partial.cor(DavisThin)
partial.cor(DavisThin, tests=TRUE)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.