Replace Negative Values
replace_negative(x, y, ...)# S4 method for numeric,numeric
replace_negative(x, y, value = 0)
# S4 method for ANY,missing
replace_negative(x, value = 0)
Returns a list with two components x and y.
A numeric vector. If y is missing, an attempt is made to
interpret x in a suitable way (see grDevices::xy.coords()).
Extra parameters to be passed to threshold.
A numeric value to replace negative values.
N. Frerebeau
Other replacement methods:
replace_threshold()