powered by
Testing partial correlation between many columns of data with Pearson method.
Pcor.test(Data, x, y)
a numeric matrix or data.frame
names of to be tested columns
names of control columns
Row names show which columns are used for the test
point estimate of correlation
degree of freedom
t value of the t distribution
probability with the t distribution
It performs multiple partial correlation test. It uses "complete.obs" rows of x and y columns.
# NOT RUN { Pcor.test(mtcars, c("mpg", "hp", "qsec"), c("drat", "wt")) # }
Run the code above in your browser using DataLab