Using DiagrammeR to render datamodelr graph object
1 | dm_render_graph(graph, width = NULL, height = NULL)
|
graph |
a graph object |
width |
an optional parameter for specifying the width of the resulting graphic in pixels. |
height |
an optional parameter for specifying the height of the resulting graphic in pixels. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.