tbl_replace_greater_than_or_equal: Replace numeric values greater than or equal to given...

Description Usage Arguments Value Examples

Description

Replace numeric values greater than or equal to given 'cutoff' from a tbl.

Usage

1
tbl_replace_greater_than_or_equal(tbl, cutoff, replace_by)

Arguments

tbl

a tbl.

cutoff

numeric value to be used as a 'cutoff'.

replace_by

a numeric value to be used to replace greater than or equal 'cutoff'.

Value

a tbl.

Examples

1
2
3
4
5
## Not run: 
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 )

## End(Not run)#'

cparsania/TidyWrappers documentation built on Feb. 6, 2022, 3:25 p.m.