plot_identification | R Documentation |
Plot the DAG and identification result computed using
the identification
function
plot_identification( cause, effect, dag, scm = FALSE, scm_ida = FALSE, fit = NULL, size_equation = 4, size_title = 13, aes_scm = list(), aes_scm_ida = list(), aes_idequation = list(), aes_fit = list() )
cause |
a string with the name of the node to check if its causal effect on 'effect' is identifiable |
effect |
a string with the name of the node to check if the causal effect of 'cause' on this node is identifiable |
dag |
a string with the DAG |
scm |
boolean, if |
scm_ida |
boolean, if |
fit |
output of the function |
size_equation |
numeric, font size of the expression in the identification expression subplot |
size_title |
numeric, font size of the title of the identification expression subplot |
aes_scm |
a named list with the aesthetic parameters for the
SCM equations plot. See |
aes_scm_ida |
a named list with the aesthetic parameters for the
SCM equations derived from the identification analysis
See |
aes_idequation |
a named list with the aesthetic parameters for the
identification expression. See |
aes_fit |
a named list with the aesthetic parameters for the
identification expression. See |
The named list aes_* contains the aesthetic parameters of different subplots. The names must match the parameter label.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.