Create vector of facet columns by type (helper)
make_facet_vec.Rd
Create vector of facet columns by type (helper)
Examples
require(NHANES)
#> Loading required package: NHANES
#> Warning: there is no package called ‘NHANES’
require(dplyr)
facets <- make_facet_vec(
df = dplyr::select(
NHANES::NHANES,
dplyr::where(is.factor)),
type = "fct")
#> Error in loadNamespace(x): there is no package called ‘NHANES’
facets
#> Error in eval(expr, envir, enclos): object 'facets' not found