scaleEDGES: Scale correlation coefficients

Description Usage Arguments Value

View source: R/utils.R

Description

Function scales correlation coefficients to make a clear Fruchterman-Reingold graph.

Usage

1
scaleEDGES(x, from = 0.01, to = 10)

Arguments

x

numeric specifying correlation coefficients of a graph.

from

numeric specifying the lowest value to which graph weights should be scaled to.

to

numeric specifying the highest value to which graph weights should be scaled to.

Value

Functions returns scaled graph's weights in numeric format.


lauzikaite/massFlowR documentation built on April 29, 2020, 9:45 a.m.