Learn R Programming

piecewiseSEM (version 1.2.1)

get.basis.set: Generates basis set for tests of direct separation

Description

A helper function for sem.missing.paths that returns a list of (conditional) independence claims from an adjacency matrix generated from get.dag.

Usage

get.basis.set(amat)

Arguments

amat

an adjacency matrix.

Value

Returns a list of independence claims. For each entry, the first argument is the variable whose partial regression slope should be zero, the second argument is the response, and the final entries are the variable(s) upon which the first argument is conditional.