given: A vector containing the names of conditioning variables. If NULL, marginal independence is checked.
conf: The confidence level for each edge: only edges with statistically significant causal effect at such confidence are considered. Default is 0.95.
use.ns: A logical value indicating whether edges without statistically significant causal effect (at level conf) should be considered or not. If FALSE (the default), they will be ignored.
Returns
Logical
Note
Conditional independence is checked statically, that is the whole history of conditioning variables is supposed to be known.
The result is unchanged if arguments var1 and var2 are switched.
Dependence is a necessary but not sufficient condition for causation: see the discussion in Pearl (2000).
References
J. Pearl (2000). Causality: Models, Reasoning, and Inference. Cambridge University Press. Cambridge, UK. ISBN: 978-0-521-89560-6