Description Usage Arguments Value Examples
Apply log()
on numeric columns / variables from a tbl.
1 | tbl_convert_log(tbl, frac = 0, base = 2)
|
tbl |
a tbl. |
frac |
a numeric value to be added before applying log. |
base |
a positive number with respect to which log are computed. |
a tbl.
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_log(base = 3)
tbl %>% tbl_convert_log(base = 3 , frac = 0.01)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.