Learn R Programming

piecewiseSEM (version 2.3.0)

fisherC: Summarize tests of directed separation using Fisher's C statistic

Description

Summarize tests of directed separation using Fisher's C statistic

Usage

fisherC(
  dTable,
  add.claims = NULL,
  basis.set = NULL,
  direction = NULL,
  interactions = FALSE,
  conserve = FALSE,
  conditional = FALSE,
  .progressBar = FALSE
)

Value

a data.frame corresponding to the C statistic, d.f., and P-value

Arguments

dTable

a data.frame containing tests of directed separation from dSep

add.claims

an optional vector of additional independence claims (i.e., P-values) to be added to the basis set

basis.set

An optional list of independence claims.

direction

a vector of claims defining the specific directionality of any independence claim(s)

interactions

whether interactions should be included in independence claims. Default is FALSE

conserve

whether the most conservative P-value should be returned. Default is FALSE

conditional

whether the conditioning variables should be shown in the table. Default is FALSE

.progressBar

an optional progress bar. Default is FALSE