rescale01 | R Documentation |
Rescales a vector to 0-1.
rescale01(x, min = NULL, max = NULL)
x |
Vector to be rescaled |
min |
Optional numeric; minimum value possible that should be rescaled to 0 (otherwise will be scaled using minimum value represented in vector as 0) |
max |
Optional numeric; maximum value possible that should be rescaled to 1 (otherwise will be scaled using maximum value represented in vector as 1) |
For networks, useful if weights/measures of tie strengths are on different scales.
Vector rescaled to 0-1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.