corTest: Test for vanishing partial correlations

View source: R/corTest.R

corTestR 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.


causalDisco documentation built on May 12, 2022, 9:05 a.m.