Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

grViz

R + viz.js


Description

Make diagrams in R using viz.js with infrastructure provided by pkghtmlwidgets.

Usage

grViz(
  diagram = "",
  engine = "dot",
  allow_subst = TRUE,
  options = NULL,
  width = NULL,
  height = NULL
)

Arguments

diagram

Spec for a diagram as either text, filename string, or file connection.

engine

String for the Graphviz layout engine; can be dot (default), neato, circo, or twopi.

allow_subst

A boolean that enables/disables substitution 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.

Value

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.


DiagrammeR

Graph/Network Visualization

v1.0.6.1
MIT + file LICENSE
Authors
Richard Iannone [aut, cre] (<https://orcid.org/0000-0003-3925-190X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.