R functions for directed acyclic graphs

addAngle | Sum up two radian angles. |

add.arc | Add an arc to a DAG. |

add.node | Add a node to an existing DAG. |

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-package | R functions for directed acyclic graphs |

dag.search | Evaluate possible adjustment sets of a DAG. |

dag.sim | Simulate data based on a DAG. |

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. |

demo.dag7 | Set up demo DAG #7. |

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. |

msas | Identify minimal sufficient adjustment sets. |

rm.arc | Remove an arc from a DAG. |

rm.node | Remove a node from a DAG. |

smoothArc | Draw an undirected assocation in a DAG. |

summary_dagRdag | Summarize a DAG. |

viv | Is a numeric vector in another vector? |

write.paths | Write the paths into a DAG drawing. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.