Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.2.1) of this package.
Take me there.
dagR (version 1.1.1)
R functions for directed acyclic graphs
Description
Functions to draw, manipulate and evaluate directed acyclic graphs.
Copy Link
Link to current version
Version
Version
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.0.1
Install
install.packages('dagR')
Monthly Downloads
279
Version
1.1.1
License
GPL-2
Maintainer
Lutz P Breitling
Last Published
October 29th, 2012
Functions in dagR (1.1.1)
Search all functions
addAngle
Sum up two radian angles.
dag.init
Set up a new DAG.
add.node
Add a node to an existing DAG.
angle
Calculate radian angle of line between two points.
add.arc
Add an arc to a DAG.
dag.legend
Write the legend in a DAG drawing.
allCombs
Create all combinations of the elements of a vector.
dag.letter
Write a DAG node symbol.
anglePoint
Calculate coordinates at specific angle and distance.
dag.draw
Draw a DAG.
dag.move
Interactively move a node or curving point in a DAG.
dag.adjust
Adjust an existing DAG for covariables.
demo.dag5
Set up demo DAG #5.
smoothArc
Draw an undirected assocation in a DAG.
msas
Identify minimal sufficient adjustment sets.
dag.adjustment
Adjust a DAG for one or more variables.
is.unknown
Check if a DAG node presents an unknown variable.
distPoints
Calculate distance between two points.
brute.search
Evaluate all possible adjustment sets of a DAG.
is.in
Check if a specific numeric value occurs in a vector.
dag.ancestors
Identify ancestors of DAG nodes.
write.paths
Write the paths into a DAG drawing.
demo.dag1
Set up demo DAG #1.
dagR-package
R functions for directed acyclic graphs
eval.paths
Evaluate potentially biasing paths in a DAG.
demo.dag0
Set up demo DAG #0.
demo.dag3
Set up demo DAG #3.
summary_dagRdag
Summarize a DAG.
demo.dag4
Set up demo DAG #4.
dag.search
Evaluate possible adjustment sets of a DAG.
is.acyclic
Check if a DAG actually is acyclic.
garrows
Draw a directed arc in a DAG.
inAngle
Calculate angle between two arcs.
assoc.exists
Check if association between two DAG nodes exists.
demo.dag2
Set up demo DAG #2.
rm.arc
Remove an arc from a DAG.
rm.node
Remove a node from a DAG.
viv
Is a numeric vector in another vector?
find.paths
Find potentially biasing paths in a DAG.
demo.dag6
Set up demo DAG #6.