R/nd3.R

#' Tools for Creating D3 Network Graphs from R
#'
#' Creates D3 JavaScript network, tree, dendrogram, and Sankey graphs from R.
#'
#' @name nd3-package
#' @aliases nd3
#' @docType package
NULL


#' Shiny bindings for nd3 widgets
#'
#' Output and render functions for using nd3 widgets within Shiny
#' applications and interactive Rmd documents.
#'
#' @param outputId output variable to read from
#' @param width,height Must be a valid CSS unit (like \code{"100\%"},
#'   \code{"400px"}, \code{"auto"}) or a number, which will be coerced to a
#'   string and have \code{"px"} appended.
#' @param expr An expression that generates a nd3 graph
#' @param env The environment in which to evaluate \code{expr}.
#' @param quoted Is \code{expr} a quoted expression (with \code{quote()})? This
#'   is useful if you want to save an expression in a variable.
#'
#' @importFrom htmlwidgets shinyWidgetOutput
#' @importFrom htmlwidgets shinyRenderWidget
#'
#' @name nd3-shiny
NULL
databrew/nd3 documentation built on May 29, 2019, 7:13 a.m.