Adjust inconsistent items to a single scale
scaleupdown(v, min_v, max_v, min_t, max_t)
v | Vector whose values will be compressed or expanded |
---|---|
min_v | Minimum allowed value for v |
max_v | Maximum allowed value for v |
min_t | Minimum allowed value for target scale |
max_t | Maximum allowed value for target scale |
v
NA#> [1] NA