tbl_all2int | R Documentation |
convert discrete variables in a tibble to integers
tbl_all2int(tbl)
tbl |
A |
A converted tibble
,data.frame
or sf
object.
demotbl = tibble::tibble(x = c(1,2,3,3,1),
y = letters[1:5],
z = c(1L,1L,2L,2L,3L),
m = factor(letters[1:5],levels = letters[5:1]))
tbl_all2int(demotbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.