Description Usage Arguments Value
Make diagrams in R using viz.js with infrastructure provided by htmlwidgets.
1 2 |
diagram |
spec for a diagram as either text, filename string, or file connection. |
engine |
string for the Graphviz layout engine; can be
|
allow_subst |
a boolean that enables/disables subsitution functionality. |
options |
parameters supplied to the htmlwidgets framework. |
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. |
An object of class htmlwidget
that will
intelligently print itself into HTML in a variety of contexts
including the R console, within R Markdown documents,
and within Shiny output bindings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.