A helper function for xvalidate that filters a list of fixed effects and returns the modified list. Used to split the fixed effects for cross-validation.
select_fes(fe_list, select_obs, list =TRUE)
Arguments
fe_list: A list of fixed effects.
select_obs: A vector of selected observations / rows.
list: Logical. If TRUE, it returns a list. Otherwise, a data frame.