query_conditional_independence()
, test_conditional_independence()
, and ggdag_conditional_independence()
for detecting, testing, and visualizing implied conditional independencies in a given DAG and dataset (#139)aes_dag()
and geom_dag()
to simplify specification of ggplot code for most DAGs. Also refactored most quick plots to use these functions (#121)geom_label_repel2()
for more opinionated repelled labels that often look better on DAGs (#132)time_ordered_coords()
and layout
(#115)geom_dag_label()
to complement geom_dag_text()
and the repel functions (#116)pull_dag()
and pull_dag_data()
to extract DAG components, update_dag()
and update_dag_data()
to update DAG components, and as_tidy_dagitty()
to construct DAGs from data frames (#117). Thanks to @lorenzoFabbri for inspiring some of the data-to-dag code in #90.left_join()
interface with dplyr 1.1.0 (#110)time_ordered_coords()
for calculating time-ordered coordinates (#88)size
is now deprecated for geom_dag_collider_edges()
in favor of linewidth
, related to #79.dag_adjustment_sets()
when width
option was low by extracting adjustment sets directly (#70)tidy_dagitty()
that missed nodes with no edges attached. May cause minor breaking changes in randomized layouts. (#68)limit
argument to dag_paths
, ggdag_paths
, and ggdag_paths_fan
(see dagitty::paths
) (#65).tidy_dagitty()
no longer allows the dendogram layout type (#62)scale_adjusted()
now correctly aligns legend types (#61)Depends
, instead importing it internally (#57).activate_collider_paths()
that causes an error where a collider had a high number of ancestors (#49)node_equivalent_dags()
where extra columns did not get joined to new tidy DAG (#40).R
file. (#27)dag_paths()
and geom_dag_edges_fan()
(#31)use_defaults()
ggproto
method in GeomDAGEdge
(#33)ggplot2::expansion()
instead of expand_scale()
when ggplot2 version is at least 3.3.0
and removed local version of expand_scale()
(#34)ggdag_collider()
where the aesthetics were flipped for the colors but not the labels (issue #15, b72e34b)as.character.default()
directly for working with characters to avoid dispatch error when the formula.tools package is attached (issue #17, 0f32bb4)strength
parameter in curved geomsnode_equivalent_class()
that didn't account for the way dagitty returns DAGs with no directionnode_equivalent_class()
that didn't check to
nodeis_false()
to avoid dependency on R 3.5.0{}
to adjustment set names to reflect conventionNEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.