citest-df {gRim}R Documentation

Test for conditional independence in a dataframe

Description

Test for conditional independence in a dataframe.

Usage

ciTest_df(x, set = NULL, ...)

Arguments

x

A dataframe.

set

A specification of the test to be made. The tests are of the form u and v are independent condionally on S where u and v are variables and S is a set of variables. See 'details' for details about specification of set.

...

Additional arguments.

Details

Value

An object of class citest (which is a list).

Author(s)

Søren Højsgaard, sorenh@math.aau.dk

See Also

ciTest, ciTest_table, ciTest_mvn, chisq.test

Examples


data(milkcomp1)
ciTest(milkcomp1, set=~tre + fat + pro)
ciTest_df(milkcomp1, set=~tre + fat + pro)

[Package gRim version 0.3.0 Index]