Package: dagR 1.2.1

Lutz P Breitling

dagR: Directed Acyclic Graphs: Analysis and Data Simulation

Draw, manipulate, and evaluate directed acyclic graphs and simulate corresponding data, as described in International Journal of Epidemiology 50(6):1772-1777.

Authors:Lutz P Breitling

dagR_1.2.1.tar.gz
dagR_1.2.1.tar.gz(r-4.5-noble)dagR_1.2.1.tar.gz(r-4.4-noble)
dagR_1.2.1.tgz(r-4.4-emscripten)dagR_1.2.1.tgz(r-4.3-emscripten)
dagR.pdf |dagR.html
dagR/json (API)
NEWS

# Install 'dagR' in R:
install.packages('dagR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.44 score 5 stars 55 scripts 258 downloads 1 mentions 47 exports 0 dependencies

Last updated 2 years agofrom:22d5ae1ddd. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 17 2024
R-4.5-linuxOKDec 17 2024

Exports:add.arcadd.nodeaddAngleallCombsangleanglePointassoc.existsbrute.searchdag.adjustdag.adjustmentdag.ancestorsdag.drawdag.initdag.legenddag.letterdag.letter2dag.movedag.searchdag.simdag.sim2dagR2dagittydemo.dag0demo.dag1demo.dag2demo.dag3demo.dag4demo.dag5demo.dag6demo.dag7distPointseval.pathsfind.pathsgarrowsinAngleis.acyclicis.inis.unknownmsasplot.dagRdagprint.dagRdagrm.arcrm.nodesmoothArcsummary_dagRdagsummary.dagRdagvivwrite.paths

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Directed Acyclic Graphs: Analysis and Data SimulationdagR-package dagR
Add an arc to a DAG.add.arc
Add a node to an existing DAG.add.node
Sum up two radian angles.addAngle
Create all combinations of the elements of a vector.allCombs
Calculate radian angle of line between two points.angle
Calculate coordinates at specific angle and distance.anglePoint
Check if association between two DAG nodes exists.assoc.exists
Evaluate all possible adjustment sets of a DAG.brute.search
Adjust an existing DAG for covariables.dag.adjust
Adjust a DAG for one or more variables.dag.adjustment
Identify ancestors of DAG nodes.dag.ancestors
Draw a DAG.dag.draw
Set up a new DAG.dag.init
Write the legend in a DAG drawing.dag.legend
Write a DAG node symbol.dag.letter
Return a DAG node symbol.dag.letter2
Interactively move a node or curving point in a DAG.dag.move
Evaluate possible adjustment sets of a DAG.dag.search
Simulate data based on a DAG.dag.sim
Simulate data based on a DAG.dag.sim2
Create dagitty code from a dagR DAGdagR2dagitty
Set up demo DAG #0.demo.dag0
Set up demo DAG #1.demo.dag1
Set up demo DAG #2.demo.dag2
Set up demo DAG #3.demo.dag3
Set up demo DAG #4.demo.dag4
Set up demo DAG #5.demo.dag5
Set up demo DAG #6.demo.dag6
Set up demo DAG #7.demo.dag7
Calculate distance between two points.distPoints
Evaluate potentially biasing paths in a DAG.eval.paths
Find potentially biasing paths in a DAG.find.paths
Draw a directed arc in a DAG.garrows
Calculate angle between two arcs.inAngle
Check if a DAG actually is acyclic.is.acyclic
Check if a specific numeric value occurs in a vector.is.in
Check if a DAG node presents an unknown variable.is.unknown
Identify minimal sufficient adjustment sets.msas
Function to draw a DAGplot.dagRdag
Prints the raw contents of an object of class dagRdag.print.dagRdag
Remove an arc from a DAG.rm.arc
Remove a node from a DAG.rm.node
Draw an undirected assocation in a DAG.smoothArc
Summarize a DAG.summary_dagRdag
Summarize a DAG.summary.dagRdag
Is a numeric vector in another vector?viv
Write the paths into a DAG drawing.write.paths