A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://datastorm-open.github.io/visNetwork/ below:

Introduction

Features

Based on htmlwidgets, so :

The package proposes all the features available in vis.js API, and even more with special features for R :

Installation

Package is now available on CRAN.

install.packages("visNetwork")

# can have new features in development version 
devtools::install_github("datastorm-open/visNetwork")
How does it work ?

visNetwork needs at least two pieces of information :

require(visNetwork, quietly = TRUE)
# minimal example
nodes <- data.frame(id = 1:3)
edges <- data.frame(from = c(1,2), to = c(1,3))
visNetwork(nodes, edges, width = "100%")
Need help ?

Besides the help R functions, a vignette is available, and you can access and read the full javascript API from R using visDocumentation():

# javascrtip api
visDocumentation()
vignette("Introduction-to-visNetwork") # with CRAN version
# shiny example
shiny::runApp(system.file("shiny", package = "visNetwork"))

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4