find_re function

Find s(, bs = "re") terms in formula

Find s(, bs = "re") terms in formula

This function is used to identify the variables "x" which are included as s(x, bs = "re") in the formula, in particular to check that they are factors.

find_re(form)

Arguments

  • form: Model formula

Returns

Vector of names of variables for which a random effect term is included in the model.

Other functions in hmmTMB

Related functions from the same R package