R functions for directed acyclic graphs


[Up] [Top]

Documentation for package ‘dagR’ version 1.0.1

Help Pages

dagR-package R functions for directed acyclic graphs
add.arc Add an arc to a DAG.
add.node Add a node to an existing DAG.
addAngle Sum up two radian angles.
allCombs Create all combinations of the elements of a vector.
angle Calculate radian angle of line between two points.
anglePoint Calculate coordinates at specific angle and distance.
assoc.exists Check if association between two DAG nodes exists.
brute.search Evaluate all possible adjustment sets of a DAG.
dag.adjust Adjust an existing DAG for covariables.
dag.adjustment Adjust a DAG for one or more variables.
dag.ancestors Identify ancestors of DAG nodes.
dag.draw Draw a DAG.
dag.init Set up a new DAG.
dag.legend Write the legend in a DAG drawing.
dag.letter Write a DAG node symbol.
dag.move Interactively move a node or curving point in a DAG.
dagR R functions for directed acyclic graphs
demo.dag0 Set up demo DAG #0.
demo.dag1 Set up demo DAG #1.
demo.dag2 Set up demo DAG #2.
demo.dag3 Set up demo DAG #3.
demo.dag4 Set up demo DAG #4.
demo.dag5 Set up demo DAG #5.
demo.dag6 Set up demo DAG #6.
distPoints Calculate distance between two points.
eval.paths Evaluate potentially biasing paths in a DAG.
find.paths Find potentially biasing paths in a DAG.
garrows Draw a directed arc in a DAG.
inAngle Calculate angle between two arcs.
is.acyclic Check if a DAG actually is acyclic.
is.in Check if a specific numeric value occurs in a vector.
is.unknown Check if a DAG node presents an unknown variable.
rm.arc Remove an arc from a DAG.
rm.node Remove a node from a DAG.
smoothArc Draw an undirected assocation in a DAG.
write.paths Write the paths into a DAG drawing.