'cutoff'R/tbl_replace.R
tbl_replace_greater_than_or_equal.RdReplace numeric values greater than or equal to given 'cutoff' from a tbl.
tbl_replace_greater_than_or_equal(tbl, cutoff, replace_by)
| tbl | a tbl. |
|---|---|
| cutoff | numeric value to be used as a |
| replace_by | a numeric value to be used to replace greater than or equal |
a tbl.
if (FALSE) { tbl <- tibble::tibble(x = letters[1:5] , y = LETTERS[1:5] , z = 1:5 , w = 5:1) tbl %>% tbl_replace_greater_than_or_equal(2, 1000 ) }#'