Learn R Programming

visNetwork (version 2.1.2)

visClusteringOutliers: Network visualization clustering options - outliers

Description

Network visualization clustering options - outliers

Usage

visClusteringOutliers(graph, clusterFactor = 0.9, stabilize = FALSE)

Arguments

graph

: a visNetwork object

clusterFactor

: Number, from 0 to 1. 0.9 by default

stabilize

: Boolean, default to false

Examples

Run this code
 
nodes <- data.frame(id = 1:10)
edges <- data.frame(from = c(1,1,10,2,6,7,8,9,10), 
                    to = c(2,3,4,5,2,5,6,7,9))

visNetwork(nodes, edges) %>%
 visClusteringOutliers(1)

 

Run the code above in your browser using DataLab