linearspacing: Returns a new value for an object in an attempt to space it...

Description Usage Arguments

Description

Returns a new value for an object in an attempt to space it out from others in a vector

Usage

1
2
linearspacing(label, nodes, radius = 0.5, shift = 0.1, minval = -Inf,
  maxval = Inf)

Arguments

label

the name of the object in the vector to consider

nodes

the complete vector of values (with names)

radius

how big a a radius of repulsion should we give to each value

shift

what is the maximum amount we should shift the value

minval

what is the minimum allowed value after shifting

maxval

what is the maximum allowed value after shifting


PhanstielLab/Sushi2 documentation built on May 16, 2019, 4:03 a.m.