scale_graph {sgraph} | R Documentation |
First try to linearize the weights with the best logarithmic and polynomial, then perform exponential scaling and set upper and lower bounds.
scale_graph(
weights,
exp_scale = exp(1),
upper_bound_mult = 25,
lower_bound_const = 5
)
weights |
Either nodes or links weights vector |
exp_scale |
Scale for exponential transform |
upper_bound_mult |
Constant to multiply weights by after scaling. Use to set an upper bound for weights. |
lower_bound_const |
Constant to set a lower bound for weights. All weights below will be set to lower bound. |
Weights vector