normalise | R Documentation |
normalise
This function is from the ambient package.
It is used to determine the position of directed edge arrows.
normalise(x, from = range(x), to = c(0, 1))
x |
numeric vector to be modified. |
from |
numeric vector range of x. |
to |
numeric vector range of normalised x. |
Numeric vector
x <- seq(1,10) normalise(x, from = range(x), to = c(0, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.