adj_shift_negatives_global: Shift all values such that the minimum of the array is 0

View source: R/adjust-array.R

adj_shift_negatives_globalR Documentation

Shift all values such that the minimum of the array is 0

Description

Shift all values such that the minimum of the array is 0

Usage

adj_shift_negatives_global(arr)

Arguments

arr

array or matrix

Value

adjusted array

See Also

Other array adjustment functions: adj_clamp(), adj_gamma(), adj_infinite(), adj_rescale(), adj_shift_negatives_local()

Examples

arr <- array(c(-5, 1:23), c(4, 3, 2))
arr
adj_shift_negatives_global(arr)

picohdr documentation built on Oct. 28, 2024, 5:08 p.m.