tbl_all2int {sdsfun} | R Documentation |
convert discrete variables in a tibble to integers
Description
convert discrete variables in a tibble to integers
Usage
tbl_all2int(tbl)
Arguments
tbl |
A |
Value
A converted tibble
,data.frame
or sf
object.
Examples
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)
[Package sdsfun version 0.5.0 Index]