Pair of one numeric variable and one factor
is_num_fac.Rd
Detect if one vector is numeric and the another one a factor (or character).
Ejemplos
is_num_dummy(mtcars$mpg, as.factor(mtcars$vs))
#> [1] TRUE
#> attr(,"type")
#> [1] "num_dummy"
is_num_fac.Rd
Detect if one vector is numeric and the another one a factor (or character).
is_num_dummy(mtcars$mpg, as.factor(mtcars$vs))
#> [1] TRUE
#> attr(,"type")
#> [1] "num_dummy"