convert_to_spring_weights {sgraph}R Documentation

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)

Arguments

df_links

Links data frame of a sgraph object

selected_nodes

Nodes identifiers to be used for the selection.

Value

Links data frame of a sgraph object


[Package sgraph version 1.0.0 Index]