adj_shift_negatives_global {picohdr} | R Documentation |
Shift all values such that the minimum of the array is 0
adj_shift_negatives_global(arr)
arr |
array or matrix |
adjusted array
Other array adjustment functions:
adj_clamp()
,
adj_gamma()
,
adj_infinite()
,
adj_rescale()
,
adj_shift_negatives_local()
arr <- array(c(-5, 1:23), c(4, 3, 2))
arr
adj_shift_negatives_global(arr)