select_fes function

Filtering fixed effect lists

Filtering fixed effect lists

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.

Returns

A modified list of fixed effects.

  • Maintainer: Joao Cruz
  • License: MIT + file LICENSE
  • Last published: 2025-02-08