replace_threshold | R Documentation |
Replace Values Below a Given Threshold
replace_threshold(x, y, threshold, ...)
## S4 method for signature 'numeric,numeric,function'
replace_threshold(x, y, threshold, value = 0, ...)
## S4 method for signature 'ANY,missing,function'
replace_threshold(x, threshold, value = 0, ...)
## S4 method for signature 'numeric,numeric,numeric'
replace_threshold(x, y, threshold, value = 0, ...)
## S4 method for signature 'ANY,missing,numeric'
replace_threshold(x, threshold, value = 0, ...)
x , y |
A |
threshold |
A |
... |
Extra parameters to be passed to |
value |
A |
Returns a list
with two components x
and y
.
N. Frerebeau
Other replacement methods:
replace_negative()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.