Learn R Programming

causalDisco (version 0.9.5)

corTest: Test for vanishing partial correlations

Description

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

Usage

corTest(x, y, S, suffStat)

Value

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

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.