R/conditional-independence.R
cor_test.Rd
This function simply calls the pcalg::gaussCItest() function from the pcalg package.
pcalg::gaussCItest()
cor_test(x, y, conditioning_set, suff_stat)
Index of x variable.
Index of y variable.
Index vector of conditioning variable(s), possibly NULL.
NULL
Sufficient statistic; list with data, binary variables and order.
A numeric, which is the p-value of the test.