File: partial.cor.Rd

package info (click to toggle)
rcmdr 1.6-0-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,524 kB
  • ctags: 2
  • sloc: makefile: 10; ansic: 9
file content (31 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{partial.cor}
\alias{partial.cor}

\title{Partial Correlations}
\description{
  Computes a matrix of partial correlations between each pair of variables
  controlling for the others.
}
\usage{
partial.cor(X, ...)
}

\arguments{
  \item{X}{data matrix.}
  \item{\dots}{arguments to be passed to \code{cor}.}
}

\value{
    Returns a matrix of partial correlations.
}

\author{John Fox \email{jfox@mcmaster.ca}}

\seealso{\code{\link[stats]{cor}}}

\examples{
    library(car)
    data(DavisThin)
    partial.cor(DavisThin)
}
\keyword{misc}