Learn R Programming

CausalR (version 1.4.3)

GetExplainedNodesOfCCG: Get explained nodes of CCG

Description

Returns a table of node names and values for explained nodes, I.e. nodes that appear in both network and data with the same sign. The table contain the name in column 1 and the value (1 or -1) in column 2

Usage

GetExplainedNodesOfCCG(hypothesisnode, signOfHypothesis, network, data, delta)

Arguments

hypothesisnode
a hypothesis node
signOfHypothesis
the direction of change of hypothesis node
network
a computational causal graph
data
a data file
delta
the number of edges across which the hypothesis should be followed

Value

vector of explained nodes