R/utils.R
get_f_idx.Rd
Get factor indices
get_f_idx(f)
a factor
a named list of indices of each factor level