Learn R Programming

sgraph (version 1.1.0)

convert_to_spring_weights: Convert weights for spring layout

Description

Apply spring weights (revert weights). Can add weak links to selected nodes, but best without.

Usage

convert_to_spring_weights(df_links, selected_nodes = NULL)

Value

Links data frame of a sgraph object

Arguments

df_links

Links data frame of a sgraph object

selected_nodes

Nodes identifiers to be used for the selection.