normalize {climextRemes} | R Documentation |
Normalize a vector
Description
Normalize a vector by subtracting off central point and dividing by range
Usage
normalize(vec, shift = NULL, lower = NULL, upper = NULL)
Arguments
vec |
vector of values |
shift |
optional central point (if not provided, uses the mean of |
lower |
optional lower end point of range (if not provided uses min of |
upper |
optional upper end point of range (if not provided uses max of |
[Package climextRemes version 0.3.1 Index]