R/keep_indep_cats.R

Defines functions keep_indep_cats

keep_indep_cats <- function(data,
                            indep) {

  lapply(rlang::set_names(indep), function(x) {
    as.character(unique(data[[x]]))
  })
}

Try the saros package in your browser

Any scripts or data that you put into this service are public.

saros documentation built on June 8, 2025, 10:43 a.m.