Description Usage Arguments Value See Also

The following functions plot R expressions and functions as trees. The igraph package
is required for most of these functions.
`exprToGraph`

transforms an R expression into a graph given as a character vector
of vertices V and a even-sized numeric vector of edges E. Two elements i and i+1 in E
encode a directed edge from V[i] to V[i+1].
`funcToIgraph`

and `exprToIgraph`

return an igraph graph object for an R
function or an R expression.

1 2 3 4 5 | ```
funcToIgraph(func)
exprToIgraph(expr)
exprToGraph(expr)
``` |

`func` |
An R function. |

`expr` |
An R expression. |

The result (see the details section).

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.