Build the final mgcv formula from transformed terms
build_mgcv_formula(
response_name,
intercept_string,
term_strings,
has_intercept,
formula_env
)Formula object for mgcv.
Response variable name (symbol or character).
Intercept term string (or NULL if no intercept).
Character vector of transformed term strings.
Logical, whether model has intercept.
Environment for formula.