Description Usage Arguments Value Examples
Creates a plottable (DiagrammeR) expression graph from an unevaluated R expression. By default, merges the innermost symbols (input variables) with the same label into common nodes, similarly to the kind of expression graph one would see in a neural network.
1 | express(expr, merge = TRUE, label_formatter = default_label_formatter)
|
expr |
an R expression. Typically a composite function (e.g. 'f(g(x), h(x))'). |
merge |
if set to 'TRUE' (the default), merges input variables with the same name into the same graph node. |
label_formatter |
a function which takes a character vector and returns a character vector. |
a DiagrammeR graph corresponding to the supplied expression.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.