rescaleValues.Rd
Rescales vector of values to span between specified range [new.min, new.max]
rescaleValues(values, new.min = 0, new.max = 1)
Numeric vector of values to rescale.
Numeric specfiying new minimum. If unspecified, default is 0.
Numeric specfiying new maximum. If unspecified, default is 1.
Numeric vector of rescaled values
# rescale values
values <- rescaleValues(values)
#> Warning: restarting interrupted promise evaluation
#> Error in rescaleValues(values): object 'values' not found