adj_infinite {picohdr} | R Documentation |
Replace infinite values with the minimum/maximum of the finite values
Description
Replace infinite values with the minimum/maximum of the finite values
Usage
adj_infinite(arr)
Arguments
arr |
array or matrix |
Value
adjusted array
See Also
Other array adjustment functions:
adj_clamp()
,
adj_gamma()
,
adj_rescale()
,
adj_shift_negatives_global()
,
adj_shift_negatives_local()
Examples
arr <- array(c(-Inf, Inf, 1:10), c(4, 3, 1))
arr
adj_infinite(arr)
[Package picohdr version 0.1.1 Index]