tbl_convert_log10: Apply 'log10()' on numeric columns / variables

Description Usage Arguments Value Examples

View source: R/tbl_convert.R

Description

Apply log10() on numeric columns / variables from a tbl.

Usage

1

Arguments

tbl

a tbl.

frac

a numeric value to be added before applying log10.

Value

a tbl.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

 tbl <- tibble::tibble(x = letters[1:5] , y = LETTERS[1:5] , z = 1:5 )
 tbl
 tbl %>% tbl_convert_log10()
 tbl %>% tbl_convert_log10(frac = 0.01)


## End(Not run)

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