createAncestralIdentifier: Create an ancestral identification function.

View source: R/ancestralID.R

createAncestralIdentifierR Documentation

Create an ancestral identification function.

Description

A helper function for ancestralIdentifyStep, creates an identifier function based on its given parameters. This created identifier function will identify the directed edges from 'targets' to 'node.'

Usage

createAncestralIdentifier(
  idFunc,
  sources,
  targets,
  node,
  htrSources,
  ancestralSubset,
  cComponent
)

Arguments

idFunc

identification of edge coefficients often requires that other edge coefficients already be identified. This argument should be a function that produces all such identifications. The newly created identifier function will return these identifications along with its own.

sources

the sources of the half-trek system.

targets

the targets of the half-trek system (these should be the parents of node).

node

the node for which all incoming edges are to be identified (the tails of which are targets).

htrSources

the nodes in sources which are half-trek reachable from node. All incoming edges to these sources should be identified by idFunc for the newly created identification function to work.

ancestralSubset

an ancestral subset of the graph containing node.

cComponent

a list corresponding to the connected component containing node in the subgraph induced by ancestralSubset. See tianDecompose for how such connected component lists are formed.

Value

an identification function


SEMID documentation built on July 26, 2023, 5:40 p.m.