Returns a new value for an object in an attempt to space it out from others in a vector
1 2 | linearspacing(label, nodes, radius = 0.5, shift = 0.1, minval = -Inf,
maxval = Inf)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.