dag.letter {dagR} | R Documentation |
Write a DAG node symbol.
Description
Writes the node symbols, 'X' and 'Y' for exposure and outcome, 'C' and 'U' (with consecutive subscripts) for known and unknown covariables. Since v1.1.2, alt.symb allows the use of custom node symbols. Unknownness is identified by either node name 'unknown' or covariable type '2' in the DAG object. Note that adjusted nodes are marked by bar and underline; this currently does not apply to those marked as unknown.
Usage
dag.letter(dag, letter, x, y, alt.symb = TRUE)
Arguments
dag |
The DAG for which a node is to be written. |
letter |
The node that is of interest. |
x |
X position. |
y |
Y position. |
alt.symb |
Boolean indicating if custom symbols (dag$symbols) should be used if available. |
Author(s)
Lutz P Breitling <l.breitling@posteo.de>
See Also
dag.draw
, dag.legend
,
write.paths
[Package dagR version 1.2.1 Index]