View source: R/conditional-independence.R
| cor_test | R Documentation |
This function simply calls the pcalg::gaussCItest() function from the pcalg package.
cor_test(x, y, conditioning_set, suff_stat)
x |
Index of x variable. |
y |
Index of y variable. |
conditioning_set |
Index vector of conditioning variable(s), possibly |
suff_stat |
Sufficient statistic; A list with two elements, "C" and "n", corresponding to the correlation matrix and number of observations. |
A numeric, which is the p-value of the test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.