powered by
Computes a matrix of partial correlations between each pair of variables controlling for the others.
partial.cor(X, tests=FALSE, use=c("complete.obs", "pairwise.complete.obs"))
data matrix.
show two-sided p-value and p-value adjusted for multiple testing by Holm's method for each partial correlation?
observations to use to compute partial correlations, default is "complete.obs".
"complete.obs"
Returns the matrix of partial correlations, optionally with adjusted and unadjusted p-values.
cor
# NOT RUN { data(DavisThin, package="car") partial.cor(DavisThin) partial.cor(DavisThin, tests=TRUE) # }
Run the code above in your browser using DataLab