corTest {causalDisco}R Documentation

Test for vanishing partial correlations

Description

This function simply calls the gaussCItest function from the pcalg package.

Usage

corTest(x, y, S, suffStat)

Arguments

x

Index of x variable

y

Index of y variable

S

Index of S variable(s), possibly NULL

suffStat

Sufficient statistic; list with data, binary variables and order.

Value

A numeric, which is the p-value of the test.


[Package causalDisco version 0.9.1 Index]