This function removes Gaussian process terms denoted
using gp() from a formula so they can be processed on their own.
See also
Functions used to help convert formulas into model designs
ar(),
arima(),
arima_terms(),
arma(),
as_string_formula(),
construct_arima(),
construct_gp(),
construct_re(),
construct_rw(),
enw_formula(),
enw_manual_formula(),
gp(),
gp_terms(),
ma(),
parse_formula(),
re(),
remove_arima_terms(),
remove_rw_terms(),
rw(),
rw_terms(),
split_formula_to_terms()
Examples
epinowcast:::remove_gp_terms(~ 1 + age_group + gp(week))
#> ~1 + age_group
#> <environment: 0x563368987630>
